diff options
author | Dmytro Linkin <[email protected]> | 2021-11-17 11:47:21 +0200 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2021-11-30 22:35:04 -0800 |
commit | 5c4e8ae7aa4875041102406801ee434e6c581aef (patch) | |
tree | 63afc42757c136ff233d30069cf04d04e3fd1361 /scripts/gdb/linux/proc.py | |
parent | 43a0696f11567278b9412f947e43dd7906c831a8 (diff) |
net/mlx5: E-Switch, Check group pointer before reading bw_share value
If log_esw_max_sched_depth is not supported group pointer of the vport
is NULL. Hence, check the pointer before reading bw_share value.
Fixes: 0fe132eac38c ("net/mlx5: E-switch, Allow to add vports to rate groups")
Signed-off-by: Dmytro Linkin <[email protected]>
Reviewed-by: Roi Dayan <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions