Re: [PATCH] Bluetooth: hci_conn: Initialize the device before hash insertion
From: patchwork-bot+bluetooth
Date: Tue Nov 10 2026 - 12:40:25 EST
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>:
On Sat, 24 Oct 2026 23:27:49 +0800 you wrote:
> An hci_conn must have an initialized embedded device before an RCU
> reader can acquire a reference to it. __hci_conn_add() instead adds
> the connection to conn_hash before hci_conn_init_sysfs() calls
> device_initialize(). Holding hdev->lock during creation does not
> exclude hci_disconnect_all_sync(), which looks up the connection and
> calls hci_conn_get() under RCU without that lock.
>
> [...]
Here is the summary with links:
- Bluetooth: hci_conn: Initialize the device before hash insertion
https://git.kernel.org/bluetooth/bluetooth-next/c/d9a1bd14caf5
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html