linux_dsm_epyc7002/drivers/net/ethernet/mellanox
Or Gerlitz 31ac93386d net/mlx5e: Avoid doing a cleanup call if the profile doesn't have it
The error flow of mlx5e_create_netdev calls the cleanup call
of the given profile without checking if it exists, fix that.

Currently the VF reps don't register that callback and we crash
if getting into error -- can be reproduced by the user doing ctrl^C
while attempting to change the sriov mode from legacy to switchdev.

Fixes: 26e59d8077 '(net/mlx5e: Implement mlx5e interface attach/detach callbacks')
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reported-by: Sabrina Dubroca <sdubroca@redhat.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
2017-06-15 23:27:46 +03:00
..
mlx4 net/mlx4: Check if Granular QoS per VF has been enabled before updating QP qos_vport 2017-06-05 11:29:54 -04:00
mlx5/core net/mlx5e: Avoid doing a cleanup call if the profile doesn't have it 2017-06-15 23:27:46 +03:00
mlxsw mlxsw: spectrum: Avoid possible NULL pointer dereference 2017-05-18 11:27:21 -04:00
Kconfig
Makefile