Hold hdev->lock for hci_conn_failed. There are possible race conditions
which may cause kernel crash.
Changes in v1:
- Hold hdev->lock for hci_conn_failed
Zhengping Jiang (1):
Bluetooth: hci_sync: hold hdev->lock when cleanup hci_conn
net/bluetooth/hci_sync.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
--
2.37.1.595.g718a3a8f04-goog