Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e4a389a9 authored by Roel Kluin's avatar Roel Kluin Committed by David S. Miller
Browse files

net: kfree(napi->skb) => kfree_skb



struct sk_buff pointers should be freed with kfree_skb.

Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cb0dc77d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;