summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorWentao Liang <vulab@iscas.ac.cn>2026-09-17 11:31:31 +0000
committerJakub Kicinski <kuba@kernel.org>2026-09-22 18:10:17 -0700
commit0bf6bb567f0edaa771e7dd208ef98da50e6a4485 (patch)
tree2655a1d7414f519b916030652eb62f44b62e5645 /tools/perf/scripts/python
parent1c34493df92146304e63cc51b9ca60fca847dd43 (diff)
downloadlinux-0bf6bb567f0edaa771e7dd208ef98da50e6a4485.tar.gz
linux-0bf6bb567f0edaa771e7dd208ef98da50e6a4485.zip
net/mlx5: Fix rev_entry reference leak in mlx5_tc_ct_shared_counter_get()
When the reverse entry is found but its counter is already being released, refcount_inc_not_zero() fails and the reference taken by mlx5_tc_ct_entry_get() is never dropped before falling through to create_counter. Drop it so the reverse entry is not kept alive forever by a shared counter lookup that did not use it. Fixes: 1edae2335adf ("net/mlx5e: CT: Use the same counter for both directions") Cc: stable@vger.kernel.org Signed-off-by: Wentao Liang <vulab@iscas.ac.cn> Reviewed-by: Tariq Toukan <tariqt@nvidia.com> Link: https://patch.msgid.link/20260917113131.2149024-1-vulab@iscas.ac.cn Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions