aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorShay Drory <[email protected]>2024-07-30 09:16:31 +0300
committerJakub Kicinski <[email protected]>2024-07-31 18:04:51 -0700
commita4557b0b57c40871ff00da4f623cf79211e052f3 (patch)
tree958fef7e9939899b76e9b11acbdf019d4a608c83 /tools/perf/scripts/python/task-analyzer.py
parent1b75da22ed1e6171e261bc9265370162553d5393 (diff)
net/mlx5: Fix error handling in irq_pool_request_irq
In case mlx5_irq_alloc fails, the previously allocated index remains in the XArray, which could lead to inconsistencies. Fix it by adding error handling that erases the allocated index from the XArray if mlx5_irq_alloc returns an error. Fixes: c36326d38d93 ("net/mlx5: Round-Robin EQs over IRQs") Signed-off-by: Shay Drory <[email protected]> Reviewed-by: Maher Sanalla <[email protected]> Signed-off-by: Tariq Toukan <[email protected]> Reviewed-by: Wojciech Drewek <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions