Skip to content

Commit

Permalink
cxgb4: Use kfree_skb for skb pointers
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Denis Kirjanov authored and David S. Miller committed Jul 8, 2010
1 parent d9bed6b commit 05eda04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/cxgb4/l2t.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 05eda04

Please sign in to comment.