diff options
author | Zhengping Jiang <jiangzp@google.com> | 2022-08-23 10:28:08 -0700 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-08-25 16:26:19 -0700 |
commit | 2da8eb834b775a9d1acea6214d3e4a78ac841e6e (patch) | |
tree | aee399c0b7312482b5b5c04d307a573be9bda4d7 /net/unix/af_unix.c | |
parent | cb0d160f813b23df2f4fe7af3237a026c44ed1aa (diff) |
Bluetooth: hci_sync: hold hdev->lock when cleanup hci_conn
When disconnecting all devices, hci_conn_failed is used to cleanup
hci_conn object when the hci_conn object cannot be aborted.
The function hci_conn_failed requires the caller holds hdev->lock.
Fixes: 9b3628d79b46f ("Bluetooth: hci_sync: Cleanup hci_conn if it cannot be aborted")
Signed-off-by: Zhengping Jiang <jiangzp@google.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions