diff options
| author | Pauli Virtanen <pav@iki.fi> | 2026-07-25 12:59:21 +0300 |
|---|---|---|
| committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2026-07-28 16:13:13 -0400 |
| commit | abf9753edf3f88282c44a605f3945d8d4f8dd86c (patch) | |
| tree | e0e635c0cad2b7aac563ee5b2b2e5ebca93b256b /include/linux/memory | |
| parent | 44fc74069d8988f2825246f9401218e29de2c0ab (diff) | |
Bluetooth: hci_sync: hold conn in hci_past_sync() callback
Avoids giving freed pointers to hci_conn_valid(), which kmalloc may have
reused.
Hold refcount to avoid that.
Fixes: d3413703d5f8 ("Bluetooth: ISO: Add support to bind to trigger PAST")
Signed-off-by: Pauli Virtanen <pav@iki.fi>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'include/linux/memory')
0 files changed, 0 insertions, 0 deletions
