linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fix kfree(skb) in iphase driver
@ 2003-05-08 21:58 Patrick McHardy
  2003-05-09 23:10 ` chas williams
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick McHardy @ 2003-05-08 21:58 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 76 bytes --]

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

Best regards,
Patrick


[-- Attachment #2: iphase-kfree-skb.diff --]
[-- Type: text/plain, Size: 900 bytes --]

# 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	kaber@trash.net	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  

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] fix kfree(skb) in iphase driver
  2003-05-08 21:58 [PATCH] fix kfree(skb) in iphase driver Patrick McHardy
@ 2003-05-09 23:10 ` chas williams
  2003-05-09 23:49   ` Patrick McHardy
  0 siblings, 1 reply; 3+ messages in thread
From: chas williams @ 2003-05-09 23:10 UTC (permalink / raw)
  To: Patrick McHardy; +Cc: Linux Kernel Mailing List

In message <3EBAD2F1.9090802@trash.net>,Patrick McHardy writes:
>This patch fixes a kfree(skb) in the iphase driver.

what release is this against?

>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  
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] fix kfree(skb) in iphase driver
  2003-05-09 23:10 ` chas williams
@ 2003-05-09 23:49   ` Patrick McHardy
  0 siblings, 0 replies; 3+ messages in thread
From: Patrick McHardy @ 2003-05-09 23:49 UTC (permalink / raw)
  To: chas williams; +Cc: Linux Kernel Mailing List



chas williams wrote:

>In message <3EBAD2F1.9090802@trash.net>,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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-05-09 23:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-08 21:58 [PATCH] fix kfree(skb) in iphase driver Patrick McHardy
2003-05-09 23:10 ` chas williams
2003-05-09 23:49   ` Patrick McHardy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).