diff options
| author | 2026-08-29 17:20:03 +0300 | |
|---|---|---|
| committer | 2026-10-14 13:26:15 -0400 | |
| commit | 115e6a21c88a5f708b2b025f7567ab78a782a74f (patch) | |
| tree | 9f26d1736f166f2bb1f4f894f362cc45bef2d555 /scripts/Makefile.thinlto | |
| parent | Bluetooth: L2CAP: hold conn->lock for __l2cap_ecred_conn_rsp_defer (diff) | |
Bluetooth: L2CAP: hold l2cap_conn::lock in l2cap_connect_cfm()
l2cap_new_connection() -> __l2cap_chan_add() modifies
l2cap_conn::chan_l, which is guarded by l2cap_conn::lock. The lock is
not held in l2cap_connect_cfm().
Fix by holding conn->lock in l2cap_connect_cfm() to make the locking
systematic.
Fixes: ab4eedb790ca ("Bluetooth: L2CAP: Fix corrupted list in hci_chan_del")
Signed-off-by: Pauli Virtanen <pav@iki.fi>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
