Re: [PATCH] bpa10x: free sk_buff with kfree_skb
From: David Miller <davem@davemloft.net>
Date: 2008-10-30 05:08:21
From: David Miller <davem@davemloft.net>
Date: 2008-10-30 05:08:21
From: Marcel Holtmann <marcel@holtmann.org> Date: Thu, 30 Oct 2008 05:09:34 +0100
Hi Ilpo,quoted
quoted
2) Couple places trying to pass sk_buff to kfree() instead of kfree_skb(). Fixed by Sergio LuisI tried with coccinelle and found one more of these, though my other attempts with it haven't been all that successful... -- [PATCH] bpa10x: free sk_buff with kfree_skb Inspired by Sergio Luis' similar patches, I finally found a case which is trivial enough that spatch won't choke on it. Signed-off-by: Ilpo Järvinen <redacted>good catch. Acked-by: Marcel Holtmann <marcel@holtmann.org> Dave, feel free to take this directly and apply it to your trees.
Thanks, I will.