diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-03-18 23:12:13 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-18 23:12:13 -0700 |
commit | e4a389a9b5c892446b5de2038bdc0cca8703c615 (patch) | |
tree | deacba5987f786ffe7ff356e8710a39f7a297057 | |
parent | cb0dc77de0d23615a845e45844a2e22fc224d7fe (diff) | |
download | linux-3.10-e4a389a9b5c892446b5de2038bdc0cca8703c615.tar.gz linux-3.10-e4a389a9b5c892446b5de2038bdc0cca8703c615.tar.bz2 linux-3.10-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |