summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSergio Luis <sergio@larces.uece.br>2008-10-27 07:08:48 +0100
committerDavid S. Miller <davem@davemloft.net>2008-10-27 07:08:48 +0100
commitcbfd24a75f98fe731547d3bc995f3a1f1fed6b20 (patch)
tree4d7bff8acb0e4030cedd3aef43efe938cdb12368 /drivers
parentPhonet: do not reply to indication reset packets (diff)
downloadlinux-cbfd24a75f98fe731547d3bc995f3a1f1fed6b20.tar.xz
linux-cbfd24a75f98fe731547d3bc995f3a1f1fed6b20.zip
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/bluetooth/btsdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/btsdio.c b/drivers/bluetooth/btsdio.c
index 58630cc1eff2..cda6c7cc944b 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;
}