Skip to contentSkip to conversation

fix kfree(skb) in iphase driver

PATCH In review Patrick McHardy 2 participants 3 messages May 8, 2003 – May 9, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix kfree(skb) in iphase driver

This patch fixes a kfree(skb) in the iphase driver.

Best regards,
Patrick

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas:
# ChangeSet 1.1198 -> 1.1199
# drivers/atm/iphase.c 1.14 -> 1.15
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/05/08 [email protected] 1.1199

# fix kfree(skb)
# --------------------------------------------
#
diff -Nru a/drivers/atm/iphase.c b/drivers/atm/iphase.c
--- a/drivers/atm/iphase.c	Thu May  8 23:56:27 2003
+++ b/drivers/atm/iphase.c	Thu May  8 23:56:27 2003
@@ -2965,7 +2965,7 @@
 	                 dev_kfree_skb_any(skb);
 	           return 0;
 	   }
-	   kfree(skb);
+	   dev_kfree_skb_any(skb);
 	   skb = newskb;
         }       
 	/* Get a descriptor number from our free descriptor queue  
#1 lore raw
Quoted 1 line · In message <[email protected]>,Patrick McHardy writes:

This patch fixes a kfree(skb) in the iphase driver.

what release is this against?

Quoted 13 lines

diff -Nru a/drivers/atm/iphase.c b/drivers/atm/iphase.c

drivers/atm/iphase.c +1 -1
@@ -2965,7 +2965,7 @@
 	                 dev_kfree_skb_any(skb);
 	           return 0;
 	   }
-	   kfree(skb);
+	   dev_kfree_skb_any(skb);
 	   skb = newskb;
        }       
 	/* Get a descriptor number from our free descriptor queue  
#2 lore raw
Quoted 9 lines · chas williams
Quoted 3 lines · In message <[email protected]>,Patrick McHardy writes:

This patch fixes a kfree(skb) in the iphase driver.

what release is this against?

2.4.21-rc1 couple of changesets before -rc2, still applies.

Patrick