diff options
-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) | |||
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; |