diff options
author | Suresh Devarakonda <[email protected]> | 2022-10-26 14:51:49 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-10-27 11:06:56 -0700 |
commit | aefb62a9988749703435e941704624949a80a2a9 (patch) | |
tree | d11d1ad84ad5591b185257e8d42792da2ee78329 /lib/mpi/mpi-sub-ui.c | |
parent | 416ef713631937cf5452476a7f1041a3ae7b06c6 (diff) |
net/mlx5: Fix crash during sync firmware reset
When setting Bluefield to DPU NIC mode using mlxconfig tool + sync
firmware reset flow, we run into scenario where the host was not
eswitch manager at the time of mlx5 driver load but becomes eswitch manager
after the sync firmware reset flow. This results in null pointer
access of mpfs structure during mac filter add. This change prevents null
pointer access but mpfs table entries will not be added.
Fixes: 5ec697446f46 ("net/mlx5: Add support for devlink reload action fw activate")
Signed-off-by: Suresh Devarakonda <[email protected]>
Reviewed-by: Moshe Shemesh <[email protected]>
Reviewed-by: Bodong Wang <[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 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions