diff options
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 c01303129119..ca212acd3348 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -2712,7 +2712,7 @@ void netif_napi_del(struct napi_struct *napi) | |||
2712 | struct sk_buff *skb, *next; | 2712 | struct sk_buff *skb, *next; |
2713 | 2713 | ||
2714 | list_del_init(&napi->dev_list); | 2714 | list_del_init(&napi->dev_list); |
2715 | kfree(napi->skb); | 2715 | kfree_skb(napi->skb); |
2716 | 2716 | ||
2717 | for (skb = napi->gro_list; skb; skb = next) { | 2717 | for (skb = napi->gro_list; skb; skb = next) { |
2718 | next = skb->next; | 2718 | next = skb->next; |