WSL2-Linux-Kernel/net/bluetooth
Niels Dossche 9fa6b4cda3 Bluetooth: call hci_le_conn_failed with hdev lock in hci_le_conn_failed
hci_le_conn_failed function's documentation says that the caller must
hold hdev->lock. The only callsite that does not hold that lock is
hci_le_conn_failed. The other 3 callsites hold the hdev->lock very
locally. The solution is to hold the lock during the call to
hci_le_conn_failed.

Fixes: 3c857757ef ("Bluetooth: Add directed advertising support through connect()")
Signed-off-by: Niels Dossche <dossche.niels@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2022-03-18 17:12:08 +01:00
..
bnep bluetooth: Use netif_rx(). 2022-03-07 11:40:41 +00:00
cmtp
hidp
rfcomm
6lowpan.c bluetooth: Use netif_rx(). 2022-03-07 11:40:41 +00:00
Kconfig
Makefile
a2mp.c
a2mp.h
af_bluetooth.c Bluetooth: fix incorrect nonblock bitmask in bt_sock_wait_ready() 2022-03-18 17:12:08 +01:00
amp.c
amp.h
aosp.c
aosp.h
ecdh_helper.c
ecdh_helper.h
eir.c
eir.h Bluetooth: Improve skb handling in mgmt_device_connected() 2022-03-04 16:10:49 +01:00
hci_codec.c
hci_codec.h
hci_conn.c Bluetooth: call hci_le_conn_failed with hdev lock in hci_le_conn_failed 2022-03-18 17:12:08 +01:00
hci_core.c
hci_debugfs.c
hci_debugfs.h
hci_event.c Bluetooth: Fix use after free in hci_send_acl 2022-03-18 17:12:07 +01:00
hci_request.c
hci_request.h
hci_sock.c
hci_sync.c Bluetooth: hci_sync: Add a new quirk to skip HCI_FLT_CLEAR_ALL 2022-03-18 17:12:07 +01:00
hci_sysfs.c
l2cap_core.c Bluetooth: Don't assign twice the same value 2022-03-18 17:12:08 +01:00
l2cap_sock.c
leds.c
leds.h
lib.c
mgmt.c Bluetooth: Send AdvMonitor Dev Found for all matched devices 2022-03-18 17:12:08 +01:00
mgmt_config.c
mgmt_config.h
mgmt_util.c
mgmt_util.h
msft.c Bluetooth: msft: Clear tracked devices on resume 2022-03-18 17:12:08 +01:00
msft.h
sco.c
selftest.c
selftest.h
smp.c
smp.h