LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [patch 2/2] libertas: free sk_buff with kfree_skb
@ 2008-10-26 7:16 Sergio Luis
2008-10-27 6:09 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Sergio Luis @ 2008-10-26 7:16 UTC (permalink / raw)
To: Dan Williams; +Cc: libertas-dev, linux-kernel
free sk_buff with kfree_skb, instead of kree
Signed-off-by: Sergio Luis <sergio@larces.uece.br>
Cc: Dan Williams <dcbw@redhat.com>
drivers/net/wireless/libertas/rx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/libertas/rx.c b/drivers/net/wireless/libertas/rx.c
index 5749f22..079e6aa 100644
--- a/drivers/net/wireless/libertas/rx.c
+++ b/drivers/net/wireless/libertas/rx.c
@@ -328,7 +328,7 @@ static int process_rxed_802_11_packet(struct lbs_private *priv,
lbs_deb_rx("rx err: frame received with bad length\n");
priv->stats.rx_length_errors++;
ret = -EINVAL;
- kfree(skb);
+ kfree_skb(skb);
goto done;
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [patch 2/2] libertas: free sk_buff with kfree_skb
2008-10-26 7:16 [patch 2/2] libertas: free sk_buff with kfree_skb Sergio Luis
@ 2008-10-27 6:09 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2008-10-27 6:09 UTC (permalink / raw)
To: sergio; +Cc: dcbw, libertas-dev, linux-kernel
From: Sergio Luis <sergio@larces.uece.br>
Date: Sun, 26 Oct 2008 04:16:47 -0300
> free sk_buff with kfree_skb, instead of kree
>
> Signed-off-by: Sergio Luis <sergio@larces.uece.br>
Also applied, thanks Sergio.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-27 6:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-26 7:16 [patch 2/2] libertas: free sk_buff with kfree_skb Sergio Luis
2008-10-27 6:09 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).