Skip to content

Commit

Permalink
libertas: free sk_buff with kfree_skb
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sergio Luis authored and David S. Miller committed Oct 27, 2008
1 parent cbfd24a commit b700a98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/libertas/rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit b700a98

Please sign in to comment.