diff options
author | Denis Kirjanov <dkirjanov@hera.kernel.org> | 2010-06-30 19:45:52 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-07 20:38:37 -0400 |
commit | 05eda04ba0b56b1bff3e5c9dbf58213ffc2e2a0b (patch) | |
tree | e9ab929996e600ae31c60caffc55feeb82881211 /drivers/net/cxgb4 | |
parent | d9bed6bbd4f2a0120c93fed68605950651e1f225 (diff) |
cxgb4: Use kfree_skb for skb pointers
Use kfree_skb for skb pointers
Acked-by: Dimitris Michailidis <dm@chelsio.com>
Signed-off-by: Denis Kirjanov <dkirjanov@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb4')
-rw-r--r-- | drivers/net/cxgb4/l2t.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
314 | struct sk_buff *skb = e->arpq_head; | 314 | struct sk_buff *skb = e->arpq_head; |
315 | 315 | ||
316 | e->arpq_head = skb->next; | 316 | e->arpq_head = skb->next; |
317 | kfree(skb); | 317 | kfree_skb(skb); |
318 | } | 318 | } |
319 | e->arpq_tail = NULL; | 319 | e->arpq_tail = NULL; |
320 | } | 320 | } |