net/mlx5: fs, fix RDMA TRANSPORT init cleanup flow
authorPatrisious Haddad <phaddad@nvidia.com>
Wed, 2 Jul 2025 10:24:04 +0000 (13:24 +0300)
committerLeon Romanovsky <leon@kernel.org>
Wed, 2 Jul 2025 18:08:18 +0000 (14:08 -0400)
commit02943ac2f6fbba8fc5e57c57e7cbc2d7c67ebf0d
treebc442b5e4ad122a6f4ca6e4474adb2a9ec8c0269
parent1f6da56679d33c733aaee929fd9af962ad66edbd
net/mlx5: fs, fix RDMA TRANSPORT init cleanup flow

Failing during the initialization of root_namespace didn't cleanup
the priorities of the namespace on which the failure occurred.

Properly cleanup said priorities on failure.

Fixes: 52931f55159e ("net/mlx5: fs, add multiple prios to RDMA TRANSPORT steering domain")
Signed-off-by: Patrisious Haddad <phaddad@nvidia.com>
Link: https://patch.msgid.link/78cf89b5d8452caf1e979350b30ada6904362f66.1751451780.git.leon@kernel.org
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c