diff options
| author | Pauli Virtanen <pav@iki.fi> | 2026-07-24 23:20:32 +0300 |
|---|---|---|
| committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2026-07-28 16:13:12 -0400 |
| commit | aa9f7cb2bd3a2be998ceb739fc9a2f986eba43eb (patch) | |
| tree | afec7b248e051f6d1106131f25ff96cde2ba51c3 /include | |
| parent | 200fa1629c57a3ca2b03d3ca63fd3a9bfd910c43 (diff) | |
Bluetooth: ISO: ensure no dangling hcon references in iso_conn
After iso_conn_del(), ISO sockets should not dereference the hcon any
more. Currently, clearing iso_conn::hcon relies on iso_conn_del()
releasing the last reference to the iso_conn.
Simplify this by explicitly clearing conn->hcon in iso_conn_del(), to
avoid more complex reasoning on races about who holds the last
reference.
Signed-off-by: Pauli Virtanen <pav@iki.fi>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
