Commit 05eda04b authored by Denis Kirjanov's avatar Denis Kirjanov Committed by David S. Miller

cxgb4: Use kfree_skb for skb pointers

Use kfree_skb for skb pointers
Acked-by: default avatarDimitris Michailidis <dm@chelsio.com>
Signed-off-by: default avatarDenis Kirjanov <dkirjanov@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d9bed6bb
...@@ -314,7 +314,7 @@ static void t4_l2e_free(struct l2t_entry *e) ...@@ -314,7 +314,7 @@ static void t4_l2e_free(struct l2t_entry *e)
struct sk_buff *skb = e->arpq_head; struct sk_buff *skb = e->arpq_head;
e->arpq_head = skb->next; e->arpq_head = skb->next;
kfree(skb); kfree_skb(skb);
} }
e->arpq_tail = NULL; e->arpq_tail = NULL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment