[patch 2/2] libertas: free sk_buff with kfree_skb
Sergio Luis
sergio at larces.uece.br
Sun Oct 26 03:16:47 EDT 2008
free sk_buff with kfree_skb, instead of kree
Signed-off-by: Sergio Luis <sergio at larces.uece.br>
Cc: Dan Williams <dcbw at 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;
}
More information about the libertas-dev
mailing list