aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
diff options
context:
space:
mode:
authorShay Drory <[email protected]>2021-02-11 15:41:35 +0200
committerSaeed Mahameed <[email protected]>2021-03-10 11:01:58 -0800
commitdc694f11a7593b7fd5aabe15a0e6c8fd2de24ebf (patch)
tree66fcde9dabbd0d1277fc1e8d1bf6288559e663c1 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
parent6fa37d66ef2dc850ff18b2a057a84cd7ca8499bb (diff)
net/mlx5: SF: Fix error flow of SFs allocation flow
When SF id is unavailable, code jumps to wrong label that accesses sw id array outside of its range. Hence, when SF id is not allocated, avoid accessing such array. Fixes: 8f0105418668 ("net/mlx5: SF, Add port add delete functionality") Signed-off-by: Shay Drory <[email protected]> Reviewed-by: Parav Pandit <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions