Skip to content
Snippets Groups Projects
Commit b700a98c authored by Sergio Luis's avatar Sergio Luis Committed by David S. Miller
Browse files

libertas: free sk_buff with kfree_skb


free sk_buff with kfree_skb, instead of kree
 
Signed-off-by: default avatarSergio Luis <sergio@larces.uece.br>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cbfd24a7
No related branches found
No related tags found
No related merge requests found
...@@ -328,7 +328,7 @@ static int process_rxed_802_11_packet(struct lbs_private *priv, ...@@ -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"); lbs_deb_rx("rx err: frame received with bad length\n");
priv->stats.rx_length_errors++; priv->stats.rx_length_errors++;
ret = -EINVAL; ret = -EINVAL;
kfree(skb); kfree_skb(skb);
goto done; goto done;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment