From: Sergio Luis Date: Mon, 27 Oct 2008 06:09:27 +0000 (-0700) Subject: libertas: free sk_buff with kfree_skb X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=b700a98c70401c2a48e509b91b47f58a883806bc;p=deliverable%2Flinux.git libertas: free sk_buff with kfree_skb free sk_buff with kfree_skb, instead of kree Signed-off-by: Sergio Luis Signed-off-by: David S. Miller --- diff --git a/drivers/net/wireless/libertas/rx.c b/drivers/net/wireless/libertas/rx.c index 5749f22b296f..079e6aa874dc 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; }