Bluetooth: ISO: Fix BIS connection dst_type handling
Subsystems (2)
Luiz Augusto von Dentz
maintainerPATCH 1/1 Bluetooth: ISO: Fix BIS connection dst_type handling
From: Luiz Augusto von Dentz <[email protected]>
Socket dst_type cannot be directly assigned to hci_conn->type since there domain is different which may lead to the wrong address type being used.
Fixes 6a5ad251b7cd ("Bluetooth: ISO: Fix possible circular locking dependency")
Signed-off-by Luiz Augusto von Dentz <[email protected]>
--- net/bluetooth/iso.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/bluetooth/iso.c +1 -1
@@ -2061,7 +2061,7 @@ static void iso_conn_ready(struct iso_conn *conn)*/ if (!bacmp (&hcon->dst,BDADDR_ANY )) {bacpy (&hcon->dst, &iso_pi (parent)->dst); - hcon->dst_type =iso_pi (parent)->dst_type; + hcon->dst_type =le_addr_type (iso_pi (parent)->dst_type); }if (test_bit (HCI_CONN_PA_SYNC , &hcon->flags)) {
Signature · 1 line
2.51.0
This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>:
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>:
Quoted 10 lines · On Fri, 26 Sep 2025 11:48:50 -0400 you wrote:
From: Luiz Augusto von Dentz <[email protected]>
Socket
dst_typecannot be directly assigned tohci_conn->typesince there domain is different which may lead to the wrong address type being used.Fixes 6a5ad251b7cd ("Bluetooth: ISO: Fix possible circular locking dependency")Signed-off-by Luiz Augusto von Dentz <[email protected]>[...]
Here is the summary with links:
- [v1] Bluetooth: ISO: Fix BIS connection dst_type handling
https://git.kernel.org/bluetooth/bluetooth-next/c/e325d4d4ace1
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html