btsdio: 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
c3a90c788b
commit
cbfd24a75f
@ -152,7 +152,7 @@ static int btsdio_rx_packet(struct btsdio_data *data)
|
||||
|
||||
err = sdio_readsb(data->func, skb->data, REG_RDAT, len - 4);
|
||||
if (err < 0) {
|
||||
kfree(skb);
|
||||
kfree_skb(skb);
|
||||
return err;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user