aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2009-03-19 02:12:13 -0400
committerDavid S. Miller <davem@davemloft.net>2009-03-19 02:12:13 -0400
commite4a389a9b5c892446b5de2038bdc0cca8703c615 (patch)
treedeacba5987f786ffe7ff356e8710a39f7a297057 /net
parentcb0dc77de0d23615a845e45844a2e22fc224d7fe (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')
-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)
2672 struct sk_buff *skb, *next; 2672 struct sk_buff *skb, *next;
2673 2673
2674 list_del_init(&napi->dev_list); 2674 list_del_init(&napi->dev_list);
2675 kfree(napi->skb); 2675 kfree_skb(napi->skb);
2676 2676
2677 for (skb = napi->gro_list; skb; skb = next) { 2677 for (skb = napi->gro_list; skb; skb = next) {
2678 next = skb->next; 2678 next = skb->next;