mbox series

[v2,0/1] Bluetooth: ISO: Fix invalid context error

Message ID 20230928075257.3123-1-iulia.tanasescu@nxp.com (mailing list archive)
Headers show
Series Bluetooth: ISO: Fix invalid context error | expand

Message

Iulia Tanasescu Sept. 28, 2023, 7:52 a.m. UTC
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

Comments

patchwork-bot+bluetooth@kernel.org Sept. 28, 2023, 8 p.m. UTC | #1
Hello:

This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

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!