| commit | fde5b271c88fcb7a8a7211154c835d9cc6de0c80 | [log] [tgz] |
|---|---|---|
| author | Pauli Virtanen <pav@iki.fi> | Mon Nov 03 20:29:50 2025 +0200 |
| committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Thu Nov 06 18:19:59 2025 -0500 |
| tree | 5d6f73eddd54a0324ae9945bb1961d150cc793ee | |
| parent | e1cd2d7db0bfbdb9363c0dfe09e53705766c0a1a [diff] |
Bluetooth: 6lowpan: add missing l2cap_chan_lock()
l2cap_chan_close() needs to be called in l2cap_chan_lock(), otherwise
l2cap_le_sig_cmd() etc. may run concurrently.
Add missing locks around l2cap_chan_close().
Fixes: 6b8d4a6a0314 ("Bluetooth: 6LoWPAN: Use connected oriented channel instead of fixed one")
Signed-off-by: Pauli Virtanen <pav@iki.fi>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>