diff options
| author | 2026-08-29 17:20:09 +0300 | |
|---|---|---|
| committer | 2026-10-14 13:27:20 -0400 | |
| commit | aba67d585b993a5a2d6c93181bd2ec50a25cf4c7 (patch) | |
| tree | 1c8ea83983d93198f7f0050207da2a2e74bb6838 /scripts/Makefile.thinlto | |
| parent | Bluetooth: L2CAP: hold chan in l2cap_ecred_conn_rsp() (diff) | |
Bluetooth: L2CAP: make concurrent l2cap_set_timer() refcounting safe
Since l2cap_set_timer() does not check return value of
schedule_delayed_work(), two concurrent calls may result to l2cap_chan
refcount leak.
Change the refcounting by using mod_delayed_work() and checking its
return value.
Code paths aside from l2cap_chan_busy() hold chan->lock, so this has
little correctness impact.
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
