Commit cbfd24a7 authored by Sergio Luis's avatar Sergio Luis Committed by David S. Miller

btsdio: 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 c3a90c78
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment