Re: [PATCH v1] Bluetooth: Fix kernel oops triggered by hci_adv_monitors_clear()
From: Marcel Holtmann
Date: Tue Jul 07 2020 - 11:38:51 EST
Hi Miao-chen,
> This fixes the kernel oops by removing unnecessary background scan
> update from hci_adv_monitors_clear() which shouldn't invoke any work
> queue.
>
> The following test was performed.
> - Run "rmmod btusb" and verify that no kernel oops is triggered.
>
> Signed-off-by: Miao-chen Chou <mcchou@xxxxxxxxxxxx>
> Reviewed-by: Abhishek Pandit-Subedi <abhishekpandit@xxxxxxxxxxxx>
> Reviewed-by: Alain Michaud <alainm@xxxxxxxxxxxx>
> ---
>
> net/bluetooth/hci_core.c | 2 --
> 1 file changed, 2 deletions(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel