Revert "net/mlx5: Block entering switchdev mode with ns inconsistency"

[ Upstream commit 8deeefb247 ]

This reverts commit 662404b24a.
The revert is required due to the suspicion it is not good for anything
and cause crash.

Fixes: 662404b24a ("net/mlx5e: Block entering switchdev mode with ns inconsistency")
Signed-off-by: Gavin Li <gavinl@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Gavin Li 2023-10-19 04:49:54 +03:00 • committed by Sasha Levin
commit 3fba8eab2c