]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net/mlx5: Fix unpublish devlink parameters
authorParav Pandit <parav@nvidia.com>
Tue, 10 Aug 2021 13:24:21 +0000 (16:24 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Sep 2021 07:50:39 +0000 (09:50 +0200)
commit628acf6ee2f1236c866e794f631739e5292801aa
tree9d88d5c154b768bfb98bfda19ff1e200eca7471a
parentfe6322774ca28669868a7e231e173e09f7422118
net/mlx5: Fix unpublish devlink parameters

[ Upstream commit 6f35723864b42ec9e9bb95a503449633395c4975 ]

Cleanup routine missed to unpublish the parameters. Add it.

Fixes: e890acd5ff18 ("net/mlx5: Add devlink flow_steering_mode parameter")
Signed-off-by: Parav Pandit <parav@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/devlink.c