From: Roel Kluin Date: Thu, 19 Mar 2009 06:12:13 +0000 (-0700) Subject: net: kfree(napi->skb) => kfree_skb X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=e4a389a9b5c892446b5de2038bdc0cca8703c615;p=linux-2.6-omap-h63xx.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 2565f6d1d66..e3fe5c70560 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;