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>
This commit is contained in:
parent
cb0dc77de0
commit
e4a389a9b5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue