diff options
author | Dmytro Linkin <dlinkin@nvidia.com> | 2021-11-17 11:47:21 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-11-30 22:35:04 -0800 |
commit | 5c4e8ae7aa4875041102406801ee434e6c581aef (patch) | |
tree | 63afc42757c136ff233d30069cf04d04e3fd1361 /usr | |
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 <dlinkin@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions