aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMike Christie <[email protected]>2020-11-01 12:59:28 -0600
committerMartin K. Petersen <[email protected]>2020-11-04 22:39:37 -0500
commit02dd4914b0bcb8fd8f8cad9817f5715a17466261 (patch)
tree21fdafac85fc120b591f0cfb7aa3518bdf19cd05 /tools/perf/scripts/python/stackcollapse.py
parenta2b5d6f975a499bd50919a409c6a7c4cbf9d8a58 (diff)
scsi: target: Fix cmd_count ref leak
percpu_ref_init sets the refcount to 1 and percpu_ref_kill drops it. Drivers like iSCSI and loop do not call target_sess_cmd_list_set_waiting during session shutdown, though, so they have been calling percpu_ref_exit with a refcount still taken and leaking the cmd_counts memory. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Himanshu Madhani <[email protected]> Signed-off-by: Mike Christie <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions