2023-09-28 09:19:38

by Iulia Tanasescu

[permalink] [raw]
Subject: [PATCH v2 0/1] Bluetooth: ISO: Fix invalid context error

This patch fixes the error introduced by commit a0bfde167b50
("Bluetooth: ISO: Add support for connecting multiple BISes"):

BUG: sleeping function called from invalid context in __hci_cmd_sync_sk

When handling the Create BIG Complete event, in case no bound BISes
have been found for the BIG handle, the hci_le_terminate_big_sync
call should be made from the cmd_sync_work, not from the rx_work.

This patch version addresses review comments.

Iulia Tanasescu (1):
Bluetooth: ISO: Fix invalid context error

net/bluetooth/hci_event.c | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)


base-commit: 091e25d6b54992d1d702ae91cbac139d4c243251
--
2.39.2


2023-09-28 20:00:33

by patchwork-bot+bluetooth

[permalink] [raw]
Subject: Re: [PATCH v2 0/1] Bluetooth: ISO: Fix invalid context error

Hello:

This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <[email protected]>:

On Thu, 28 Sep 2023 10:52:56 +0300 you wrote:
> This patch fixes the error introduced by commit a0bfde167b50
> ("Bluetooth: ISO: Add support for connecting multiple BISes"):
>
> BUG: sleeping function called from invalid context in __hci_cmd_sync_sk
>
> When handling the Create BIG Complete event, in case no bound BISes
> have been found for the BIG handle, the hci_le_terminate_big_sync
> call should be made from the cmd_sync_work, not from the rx_work.
>
> [...]

Here is the summary with links:
- [v2,1/1] Bluetooth: ISO: Fix invalid context error
https://git.kernel.org/bluetooth/bluetooth-next/c/62dc24251217

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