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>
This commit is contained in:
parent
cbfd24a75f
commit
b700a98c70
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue