From: Sergio Luis Date: Mon, 27 Oct 2008 06:08:48 +0000 (-0700) Subject: btsdio: free sk_buff with kfree_skb X-Git-Tag: v2.6.28-rc3~98^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=cbfd24a75f98fe731547d3bc995f3a1f1fed6b20;p=linux-2.6-omap-h63xx.git btsdio: free sk_buff with kfree_skb free sk_buff with kfree_skb, instead of kree Signed-off-by: Sergio Luis Signed-off-by: David S. Miller --- diff --git a/drivers/bluetooth/btsdio.c b/drivers/bluetooth/btsdio.c index 58630cc1eff..cda6c7cc944 100644 --- a/drivers/bluetooth/btsdio.c +++ b/drivers/bluetooth/btsdio.c @@ -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; }