Re: [PATCH v3 bluetooth] Bluetooth: coredump: Quiesce dump work on unregister

From: patchwork-bot+bluetooth

Date: Tue Sep 08 2026 - 12:58:57 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 23:43:32 +0800 you wrote:
> hci_devcd_handle_pkt_init() arms dump_timeout and coredump producers
> queue dump_rx without holding an hdev reference. Unregister leaves both
> works live, so disconnecting during an active dump lets them access hdev
> after hci_release_dev() frees it.
>
> Shut down coredump processing during unregister. Close the producer gate
> under dump_q.lock before disabling both works, then free the active buffer
> and queued packets under hci_dev_lock. Serializing the gate with enqueue
> prevents controller-specific workers from adding packets after the final
> purge.
>
> [...]

Here is the summary with links:
- [v3] Bluetooth: coredump: Quiesce dump work on unregister
https://git.kernel.org/bluetooth/bluetooth-next/c/701ca71884b3

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