Re: [PATCH] fix kfree(skb) in iphase driver

From: chas williams (chas@locutus.cmf.nrl.navy.mil)
Date: Fri May 09 2003 - 18:10:49 EST


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
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu May 15 2003 - 22:00:32 EST