summaryrefslogtreecommitdiff
path: root/net/bluetooth
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2024-02-28 19:17:24 +0300
committerSasha Levin <sashal@kernel.org>2024-03-27 01:19:38 +0300
commit620b9e60e4b55fa55540ce852a0f3c9e6091dbbc (patch)
treeccf044043d6d31e96fe6c6df2a464207aada1932 /net/bluetooth
parent98e9920c75e0790bff947a00d192d24bf1c724e0 (diff)
downloadlinux-620b9e60e4b55fa55540ce852a0f3c9e6091dbbc.tar.xz
Bluetooth: btusb: Fix memory leak
[ Upstream commit 79f4127a502c5905f04da1f20a7bbe07103fb77c ] This checks if CONFIG_DEV_COREDUMP is enabled before attempting to clone the skb and also make sure btmtk_process_coredump frees the skb passed following the same logic. Fixes: 0b7015132878 ("Bluetooth: btusb: mediatek: add MediaTek devcoredump support") Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/bluetooth')
0 files changed, 0 insertions, 0 deletions