linux_dsm_epyc7002/drivers/net/ethernet/mellanox
Eran Ben Elisha f7936ddd35 net/mlx5: Avoid processing commands before cmdif is ready
When driver is reloading during recovery flow, it can't get new commands
till command interface is up again. Otherwise we may get to null pointer
trying to access non initialized command structures.

Add cmdif state to avoid processing commands while cmdif is not ready.

Fixes: e126ba97db ("mlx5: Add driver for Mellanox Connect-IB adapters")
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Moshe Shemesh <moshe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
2020-05-22 17:28:38 -07:00
..
mlx4 net/mlx4_core: Fix use of ENOSPC around mlx4_counter_alloc() 2020-05-04 10:42:06 -07:00
mlx5/core net/mlx5: Avoid processing commands before cmdif is ready 2020-05-22 17:28:38 -07:00
mlxfw net: mlxfw: Replace zero-length array with flexible-array member 2020-03-03 17:39:19 -08:00
mlxsw mlxsw: spectrum: Fix use-after-free of split/unsplit/type_set in case reload fails 2020-05-22 16:08:14 -07:00
Kconfig
Makefile