Re: [PATCH v2] Bluetooth: hci_sync: fix set_local_name race condition
From: patchwork-bot+bluetooth
Date: Fri Aug 22 2025 - 10:47:20 EST
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>:
On Fri, 22 Aug 2025 12:20:55 +0300 you wrote:
> Function set_name_sync() uses hdev->dev_name field to send
> HCI_OP_WRITE_LOCAL_NAME command, but copying from data to hdev->dev_name
> is called after mgmt cmd was queued, so it is possible that function
> set_name_sync() will read old name value.
>
> This change adds name as a parameter for function hci_update_name_sync()
> to avoid race condition.
>
> [...]
Here is the summary with links:
- [v2] Bluetooth: hci_sync: fix set_local_name race condition
https://git.kernel.org/bluetooth/bluetooth-next/c/c49a788e88e4
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html