Re: [PATCH] Bluetooth: hci_sync: invoke destroy callbacks outside lock

From: patchwork-bot+bluetooth

Date: Mon Nov 23 2026 - 14:10:19 EST


Hello:

This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>:

On Sat, 21 Nov 2026 20:01:20 +0800 you wrote:
> hci_cmd_sync_clear() cancels queued command-sync entries while holding
> cmd_sync_work_lock. Cancellation invokes entry->destroy(), and
> add_ext_adv_params_complete() takes hdev->lock. In the opposite direction,
> le_conn_complete_evt() holds hdev->lock while hci_update_passive_scan()
> queues work and acquires cmd_sync_work_lock. This creates the circular
> locking dependency reported by lockdep during controller teardown.
>
> [...]

Here is the summary with links:
- Bluetooth: hci_sync: invoke destroy callbacks outside lock
https://git.kernel.org/bluetooth/bluetooth-next/c/f99caa0d2467

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html