diff options
author | Sergio Luis <sergio@larces.uece.br> | 2008-10-26 23:09:27 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-26 23:09:27 -0700 |
commit | b700a98c70401c2a48e509b91b47f58a883806bc (patch) | |
tree | 76da9516d2cd36f95d1ae2f0d002289ac6ca1c5f /drivers/net/wireless/libertas | |
parent | cbfd24a75f98fe731547d3bc995f3a1f1fed6b20 (diff) | |
download | linux-3.10-b700a98c70401c2a48e509b91b47f58a883806bc.tar.gz linux-3.10-b700a98c70401c2a48e509b91b47f58a883806bc.tar.bz2 linux-3.10-b700a98c70401c2a48e509b91b47f58a883806bc.zip |
libertas: free sk_buff with kfree_skb
free sk_buff with kfree_skb, instead of kree
Signed-off-by: Sergio Luis <sergio@larces.uece.br>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/libertas')
-rw-r--r-- | drivers/net/wireless/libertas/rx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/rx.c b/drivers/net/wireless/libertas/rx.c index 5749f22b296..079e6aa874d 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; } |