diff options
author | Tariq Toukan <tariqt@mellanox.com> | 2019-03-05 16:45:09 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-03-11 11:32:40 -0700 |
commit | c475e11e82d16133304321bae285c5c1d4cfc856 (patch) | |
tree | 5a01cf92cf694dd9b5fe3384033dfea48e5dc203 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 3d6f3cdf9bfe92c430674308db0f1c8655f2c11d (diff) |
net/mlx5e: Fix access to non-existing receive queue
In case number of channels is changed while interface is down,
RSS indirection table is mistakenly not modified accordingly,
causing access to out-of-range non-existing object.
Fix by updating the RSS indireciton table also in the early
return flow of interface down.
Fixes: fb35c534b788 ("net/mlx5e: Fix NULL pointer derefernce in set channels error flow")
Fixes: bbeb53b8b2c9 ("net/mlx5e: Move RSS params to a dedicated struct")
Reported-by: Or Gerlitz <ogerlitz@mellanox.com>
Tested-by: Maria Pasechnik <mariap@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Reviewed-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions