]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: hci_core: Fix leaking sent_cmd skb
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 4 Feb 2022 21:12:35 +0000 (13:12 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 24 Feb 2022 20:05:21 +0000 (21:05 +0100)
commitdd3b1dc3dd050f1f47cd13e300732852414270f8
tree9bbed950509ef2e16b2a1231a0d5d73dabe162f6
parent42404d8f1c01861b22ccfa1d70f950242720ae57
Bluetooth: hci_core: Fix leaking sent_cmd skb

sent_cmd memory is not freed before freeing hci_dev causing it to leak
it contents.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_core.c