projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8059ba0
)
Bluetooth: hci_qca: Use kfree_skb() instead of kfree()
author
Wei Yongjun
<weiyongjun1@huawei.com>
Tue, 9 Jul 2019 01:35:30 +0000
(
01:35
+0000)
committer
Marcel Holtmann
<marcel@holtmann.org>
Mon, 12 Aug 2019 16:23:49 +0000
(18:23 +0200)
Use kfree_skb() instead of kfree() to free sk_buff.
Fixes: 2faa3f15fa2f ("Bluetooth: hci_qca: wcn3990: Drop baudrate change vendor event")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_qca.c
patch
|
blob
|
history
diff --git
a/drivers/bluetooth/hci_qca.c
b/drivers/bluetooth/hci_qca.c
index 82a0a3691a63c701075e03ed44a408d13d7c4e66..3c9fd165fda6d84c2d8e213be93e4ddf4dab1511 100644
(file)
--- a/
drivers/bluetooth/hci_qca.c
+++ b/
drivers/bluetooth/hci_qca.c
@@
-912,7
+912,7
@@
static int qca_recv_event(struct hci_dev *hdev, struct sk_buff *skb)
if (hdr->evt == HCI_EV_VENDOR)
complete(&qca->drop_ev_comp);
- kfree(skb);
+ kfree
_skb
(skb);
return 0;
}