libertas: free sk_buff with kfree_skb
PATCH 2/2 libertas: free sk_buff with kfree_skb
free sk_buff with kfree_skb, instead of kree
Signed-off-by Sergio Luis <[email protected]>
Cc Dan Williams <[email protected]>
drivers/net/wireless/libertas/rx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/libertas/rx.c +1 -1
@@ -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; }
From: Sergio Luis <[email protected]>
Date: Sun, 26 Oct 2008 04:16:47 -0300
Quoted 3 lines
free
sk_buffwithkfree_skb, instead of kreeSigned-off-by Sergio Luis <[email protected]>
Also applied, thanks Sergio.