Re: [PATCH] Bluetooth: hci_core: Fix queuing tx_work after workqueue is drained
From: patchwork-bot+bluetooth
Date: Tue Sep 08 2026 - 12:48:43 EST
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>:
On Sun, 6 Sep 2026 22:21:27 +0700 you wrote:
> hci_send_acl(), hci_send_sco() and hci_send_iso() queue hdev->tx_work
> unconditionally. They can run from the L2CAP/SCO/ISO socket send path
> while hci_dev_close_sync() is draining hdev->workqueue (HCIDEVDOWN
> racing with a socket write). Since that queue_work() is not chained
> work from the tx_work worker itself, __queue_work() sees the queue
> marked __WQ_DRAINING, warns "cannot queue %ps on wq %s", and drops
> the work:
>
> [...]
Here is the summary with links:
- Bluetooth: hci_core: Fix queuing tx_work after workqueue is drained
https://git.kernel.org/bluetooth/bluetooth-next/c/0010ea1bd14d
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html