[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100701094552.GA6188@hera.kernel.org>
Date: Thu, 1 Jul 2010 09:45:52 +0000
From: Denis Kirjanov <dkirjanov@...a.kernel.org>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org
Subject: [RESEND][PATCH] cxgb4: Use kfree_skb for skb pointers
Use kfree_skb for skb pointers
Acked-by: Dimitris Michailidis <dm@...lsio.com>
Signed-off-by: Denis Kirjanov <dkirjanov@...nel.org>
---
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 5b990d2..e8f0f55 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;
}
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists