cxgb4: Use kfree_skb for skb pointers
authorDenis Kirjanov <dkirjanov@hera.kernel.org>
Wed, 30 Jun 2010 23:45:52 +0000 (23:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Jul 2010 00:38:37 +0000 (17:38 -0700)
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>
drivers/net/cxgb4/l2t.c

index 5b990d24cca9ac6acc9e81e74f5fd039eb3ef7da..e8f0f55e9d08e7c537a129f271b34891e5d282c2 100644 (file)
@@ -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;
        }