From: Roel Kluin Date: Thu, 19 Mar 2009 06:12:13 +0000 (-0700) Subject: net: kfree(napi->skb) => kfree_skb X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e4a389a9b5c892446b5de2038bdc0cca8703c615;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git net: kfree(napi->skb) => kfree_skb struct sk_buff pointers should be freed with kfree_skb. Signed-off-by: Roel Kluin Signed-off-by: David S. Miller --- diff --git a/net/core/dev.c b/net/core/dev.c index 2565f6d1d661..e3fe5c705606 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -2672,7 +2672,7 @@ void netif_napi_del(struct napi_struct *napi) struct sk_buff *skb, *next; list_del_init(&napi->dev_list); - kfree(napi->skb); + kfree_skb(napi->skb); for (skb = napi->gro_list; skb; skb = next) { next = skb->next;