projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f8362a
)
Bluetooth: Fix kfree() => kfree_skb() in hci_ath.c
author
Dan Carpenter
<error27@gmail.com>
Fri, 23 Jul 2010 10:11:04 +0000
(12:11 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 27 Jul 2010 22:27:45 +0000
(15:27 -0700)
sk_buffs have to be freed with kfree_skb() instead of kfree().
Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_ath.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/bluetooth/hci_ath.c
b/drivers/bluetooth/hci_ath.c
index b941dd5dc9818e722b8ccb2bfca40c6f967dd00d..6a160c17ea943426b459e5a9ec8ad9000b5b5b8e 100644
(file)
--- a/
drivers/bluetooth/hci_ath.c
+++ b/
drivers/bluetooth/hci_ath.c
@@
-163,7
+163,7
@@
static int ath_enqueue(struct hci_uart *hu, struct sk_buff *skb)
struct ath_struct *ath = hu->priv;
if (bt_cb(skb)->pkt_type == HCI_SCODATA_PKT) {
- kfree(skb);
+ kfree
_skb
(skb);
return 0;
}