summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2009-03-19 07:12:13 +0100
committerDavid S. Miller <davem@davemloft.net>2009-03-19 07:12:13 +0100
commite4a389a9b5c892446b5de2038bdc0cca8703c615 (patch)
treedeacba5987f786ffe7ff356e8710a39f7a297057
parentnet: fix sctp breakage (diff)
downloadlinux-e4a389a9b5c892446b5de2038bdc0cca8703c615.tar.xz
linux-e4a389a9b5c892446b5de2038bdc0cca8703c615.zip
net: kfree(napi->skb) => kfree_skb
struct sk_buff pointers should be freed with kfree_skb. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/core/dev.c2
1 files changed, 1 insertions, 1 deletions
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;