diff options
author | Sergio Luis <sergio@larces.uece.br> | 2008-10-27 07:08:48 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-27 07:08:48 +0100 |
commit | cbfd24a75f98fe731547d3bc995f3a1f1fed6b20 (patch) | |
tree | 4d7bff8acb0e4030cedd3aef43efe938cdb12368 | |
parent | Phonet: do not reply to indication reset packets (diff) | |
download | linux-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>
-rw-r--r-- | drivers/bluetooth/btsdio.c | 2 |
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; } |