projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3a90c7
)
btsdio: free sk_buff with kfree_skb
author
Sergio Luis
<sergio@larces.uece.br>
Mon, 27 Oct 2008 06:08:48 +0000
(23:08 -0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 27 Oct 2008 06:08:48 +0000
(23:08 -0700)
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>
drivers/bluetooth/btsdio.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/bluetooth/btsdio.c
b/drivers/bluetooth/btsdio.c
index 58630cc1eff2f1047ed0049edcbb9c4e578d511f..cda6c7cc944b1470a00ab1bafc8942236417b30a 100644
(file)
--- 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;
}