diff options
author | Edward Adam Davis <eadavis@qq.com> | 2024-11-26 07:58:43 +0800 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2024-11-26 11:07:28 -0500 |
commit | ed9588554943097bdf09588a8a105fbb058869c5 (patch) | |
tree | 054febd3743b205a47f160e571513d87e7147fe9 /tools/perf/scripts/python/task-analyzer.py | |
parent | a66dfaf18fd61bb75ef8cee83db46b2aadf153d0 (diff) | |
download | linux-ed9588554943097bdf09588a8a105fbb058869c5.tar.gz linux-ed9588554943097bdf09588a8a105fbb058869c5.tar.bz2 linux-ed9588554943097bdf09588a8a105fbb058869c5.zip |
Bluetooth: SCO: remove the redundant sco_conn_put
When adding conn, it is necessary to increase and retain the conn reference
count at the same time.
Another problem was fixed along the way, conn_put is missing when hcon is NULL
in the timeout routine.
Fixes: e6720779ae61 ("Bluetooth: SCO: Use kref to track lifetime of sco_conn")
Reported-and-tested-by: syzbot+489f78df4709ac2bfdd3@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=489f78df4709ac2bfdd3
Signed-off-by: Edward Adam Davis <eadavis@qq.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions