projects
/
wrapfs-5.3.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d48656
)
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
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 3 Aug 2015 16:29:52 +0000
(09:29 -0700)
commit
ecffc80478cdce122f0ecb6a4e4f909132dd5c47
upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/bluetooth/btusb.c
patch
|
blob
|
history
diff --git
a/drivers/bluetooth/btusb.c
b/drivers/bluetooth/btusb.c
index c0e7a9aa97a480be3fe334f9303f44c4a37b8a7f..c23658e42fc3ca3b11fbcc2f34738f65e9421eb3 100644
(file)
--- a/
drivers/bluetooth/btusb.c
+++ b/
drivers/bluetooth/btusb.c
@@
-1293,6
+1293,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.
*