Luiz Augusto von Dentz
620b9e60e4
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: 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
..
2022-03-18 17:12:09 +01:00
2022-03-18 17:12:09 +01:00
2021-10-25 15:04:46 +02:00
2020-07-10 19:09:42 +02:00
2019-09-04 16:11:46 +02:00
2018-09-27 12:57:39 +02:00
2023-08-11 11:50:05 -07:00
2022-07-21 17:04:38 -07:00
2023-08-24 12:23:46 -07:00
2023-08-24 12:23:26 -07:00
2022-06-10 14:51:36 +02:00
2022-06-10 14:51:36 +02:00
2022-06-10 14:51:36 +02:00
2023-04-23 21:49:18 -07:00
2022-06-10 14:51:36 +02:00
2024-03-26 18:19:38 -04:00
2023-08-11 11:48:58 -07:00
2022-07-21 17:08:03 -07:00
2024-01-25 15:35:29 -08:00
2024-01-25 15:35:29 -08:00
2024-03-06 14:48:36 +00:00
2023-08-24 12:21:15 -07:00
2023-03-23 13:09:38 -07:00
2021-09-29 00:13:48 +02:00
2023-10-13 20:03:04 -07:00
2023-08-11 11:35:14 -07:00
2023-04-23 22:04:52 -07:00
2024-03-26 18:19:38 -04:00
2017-06-16 11:48:40 -04:00
2019-05-30 11:26:35 -07:00
2021-06-26 07:52:41 +02:00
2019-07-31 13:17:33 -07:00
2024-03-06 14:48:39 +00:00
2023-06-29 10:52:08 -07:00
2022-12-25 13:38:09 -08:00
2021-11-16 13:57:25 +01:00
2024-03-26 18:19:38 -04:00
2022-07-21 17:05:10 -07:00
2023-09-01 09:38:00 -07:00
2023-04-23 21:49:03 -07:00
2023-04-23 21:45:29 -07:00
2023-08-11 11:50:41 -07:00
2024-03-26 18:19:37 -04:00
2024-03-26 18:19:38 -04:00
2024-03-26 18:19:38 -04:00
2024-01-01 12:42:31 +00:00
2023-04-23 21:58:21 -07:00
2023-04-23 21:51:55 -07:00
2023-07-03 12:15:12 -04:00