aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorOz Shlomo <[email protected]>2022-12-03 14:13:24 -0800
committerJakub Kicinski <[email protected]>2022-12-08 13:04:26 -0800
commitf07d8afb1ceae57767cf80c134b7a03e9c589276 (patch)
treebf625f53d82787cb1341f1b6d60bab807acd4fbc /tools/perf/scripts/python/stat-cpi.py
parent5a5624d1edf44e808481dedaf59eae61fd66e052 (diff)
net/mlx5: fs, assert null dest pointer when dest_num is 0
Currently create_flow_handle() assumes a null dest pointer when there are no destinations. This might not be the case as the caller may pass an allocated dest array while setting the dest_num parameter to 0. Assert null dest array for flow rules that have no destinations (e.g. drop rule). Signed-off-by: Oz Shlomo <[email protected]> Reviewed-by: Roi Dayan <[email protected]> Reviewed-by: Mark Bloch <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions