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:
781f899
)
Bluetooth: btusb: Fix memory leak in Intel setup routine
author
Marcel Holtmann
<marcel@holtmann.org>
Sun, 7 Jun 2015 07:42:19 +0000
(09:42 +0200)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Mon, 8 Jun 2015 08:07:17 +0000
(11:07 +0300)
The SKB returned from the Intel specific version information command is
missing a kfree_skb.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Cc: stable@vger.kernel.org
drivers/bluetooth/btusb.c
patch
|
blob
|
history
diff --git
a/drivers/bluetooth/btusb.c
b/drivers/bluetooth/btusb.c
index c956250176b3aa69fdc5815edce0cf6f506c53ea..7f936db169f5233e3bd962eb3ecfd4fbc58aa5dc 100644
(file)
--- a/
drivers/bluetooth/btusb.c
+++ b/
drivers/bluetooth/btusb.c
@@
-1616,6
+1616,8
@@
static int btusb_setup_intel(struct hci_dev *hdev)
}
fw_ptr = fw->data;
+ kfree_skb(skb);
+
/* This Intel specific command enables the manufacturer mode of the
* controller.
*