Files
linux-stable-mirror/drivers/bluetooth
Luiz Augusto von DentzandSasha Levin 620b9e60e4 Bluetooth: btusb: Fix memory leak
[ Upstream commit 79f4127a50 ]

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: 0b70151328 ("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>
2024-03-26 18:19:38 -04:00
..
2024-03-26 18:19:38 -04:00
2024-03-26 18:19:38 -04:00