Skip to content

Commit db2bf51

Browse files
liujian56Vudentz
authored andcommitted
Revert "Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished work"
This reverts commit 1e9ac11. This patch introduces a possible null-ptr-def problem. Revert it. And the fixed bug by this patch have resolved by commit 73f7b17 ("Bluetooth: btsdio: fix use after free bug in btsdio_remove due to race condition"). Fixes: 1e9ac11 ("Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished work") Signed-off-by: Liu Jian <liujian56@huawei.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
1 parent 91b6d02 commit db2bf51

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/bluetooth/btsdio.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,6 @@ static void btsdio_remove(struct sdio_func *func)
354354

355355
BT_DBG("func %p", func);
356356

357-
cancel_work_sync(&data->work);
358357
if (!data)
359358
return;
360359

0 commit comments

Comments
 (0)