mbox series

[0/2] Bluetooth: ISO: iso_listen_bis fixes

Message ID 20240304165050.3430-1-iulia.tanasescu@nxp.com
Headers show
Series Bluetooth: ISO: iso_listen_bis fixes | expand

Message

Iulia Tanasescu March 4, 2024, 4:50 p.m. UTC
This patch adds some fixes for the iso_listen_bis function:

The first commit fixes the circular locking dependency warning
caused by iso_listen_bis attempting to lock the hdev while the
socket is locked from the caller function.

The second commit fixes the fact that hci_dev_put is only called
if iso_listen_bis returns successfully. Otherwise, the hdev will
still be held from hci_get_route.

Iulia Tanasescu (2):
  Bluetooth: ISO: Fix circular locking dependency warning
  Bluetooth: ISO: Always release hdev at the end of iso_listen_bis

 net/bluetooth/iso.c | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)