From 05eda04ba0b56b1bff3e5c9dbf58213ffc2e2a0b Mon Sep 17 00:00:00 2001 From: Denis Kirjanov Date: Wed, 30 Jun 2010 23:45:52 +0000 Subject: [PATCH] cxgb4: Use kfree_skb for skb pointers Use kfree_skb for skb pointers Acked-by: Dimitris Michailidis Signed-off-by: Denis Kirjanov Signed-off-by: David S. Miller --- drivers/net/cxgb4/l2t.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/cxgb4/l2t.c b/drivers/net/cxgb4/l2t.c index 5b990d24cca9..e8f0f55e9d08 100644 --- a/drivers/net/cxgb4/l2t.c +++ b/drivers/net/cxgb4/l2t.c @@ -314,7 +314,7 @@ static void t4_l2e_free(struct l2t_entry *e) struct sk_buff *skb = e->arpq_head; e->arpq_head = skb->next; - kfree(skb); + kfree_skb(skb); } e->arpq_tail = NULL; } -- 2.39.5