diff options
author | Roel Kluin | 2009-03-18 23:12:13 -0700 |
---|---|---|
committer | David S. Miller | 2009-03-18 23:12:13 -0700 |
commit | e4a389a9b5c892446b5de2038bdc0cca8703c615 (patch) | |
tree | deacba5987f786ffe7ff356e8710a39f7a297057 /net/core | |
parent | cb0dc77de0d23615a845e45844a2e22fc224d7fe (diff) |
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>
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/dev.c | 2 |
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; |