Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}