diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2024-10-01 22:46:10 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2024-11-14 23:39:03 +0300 |
commit | e6720779ae612a14ac4ba7fe4fd5b27d900d932c (patch) | |
tree | b8cbe675a29004e0b6f815d20445868e2483a2a7 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 96e7c4273560be4744ba8c444bc6969745315251 (diff) | |
download | linux-e6720779ae612a14ac4ba7fe4fd5b27d900d932c.tar.xz |
Bluetooth: SCO: Use kref to track lifetime of sco_conn
This make use of kref to keep track of reference of sco_conn which
allows better tracking of its lifetime with usage of things like
kref_get_unless_zero in a similar way as used in l2cap_chan.
In addition to it remove call to sco_sock_set_timer on __sco_sock_close
since at that point it is useless to set a timer as the sk will be freed
there is nothing to be done in sco_sock_timeout.
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions