aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2026-08-29 17:19:57 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2026-10-14 13:24:10 -0400
commit608e0b7a675b2affbbf38167cad0fa63d8e064f7 (patch)
tree127d625693d3c6772b1dce211173e5b9a8492e93 /scripts/Makefile.thinlto
parentBluetooth: L2CAP: take chan->lock for l2cap_chan_add/ready/del (diff)
Bluetooth: L2CAP: add l2cap_chan_close_unlocked() and locking helpers
l2cap_chan_close() requires holding chan->lock and chan->conn->lock if associated chan->conn exists, to guard eg. conn->chan_l. Taking the locks with right ordering requires handling a race condition. Add helper function l2cap_chan_(un)lock_conn that do the locking right. Add l2cap_chan_close_unlocked() that does not require locks to be held, as all callsites do this lock -> close -> unlock pattern. Link: https://syzkaller.appspot.com/bug?extid=0e4ebcc970728e056324 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