summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorGal Pressman <gal@nvidia.com>2026-05-13 09:27:37 +0300
committerJakub Kicinski <kuba@kernel.org>2026-05-14 18:33:48 -0700
commitc9d08c8c4c5006d71b3c3c3c0dc41ebc46931951 (patch)
tree5aac30f105756ea82be7643404e8f4ce5ffe4090 /tools/perf/scripts/python/bin/stackcollapse-record
parentf508262ae9f21fe0e6c0749948b9dc7dd5a62a70 (diff)
net/mlx5e: Don't leak RSS context in case of error
If mlx5e_rx_res_rss_set_rxfh() fails during mlx5e_create_rxfh_context(), the RSS context is not cleaned up. This leaves a stale entry in 'res->rss[rss_idx]' that occupies a context slot. Destroy the RSS context before returning the error. Fixes: 6c2509d44636 ("net/mlx5e: Add error flow for ethtool -X command") Signed-off-by: Gal Pressman <gal@nvidia.com> Reviewed-by: Nimrod Oren <noren@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Link: https://patch.msgid.link/20260513062737.333259-1-tariqt@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions