]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: unlock on error path in esw_vfs_changed_event_handler()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 15 Jul 2022 08:27:03 +0000 (11:27 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Mon, 22 Aug 2022 19:57:09 +0000 (12:57 -0700)
commit39e77e496a89dfe00a9c2448b5766520714c1ed0
tree2ef391e0bfe855a0f5337f501ce666d8ef3d12dc
parent018deb6f3765a3fd365d34139c4501db78c4a43b
net/mlx5: unlock on error path in esw_vfs_changed_event_handler()

Unlock before returning on this error path.

Fixes: 0cad4c36e279 ("net/mlx5: Use devl_ API in mlx5_esw_offloads_devlink_port_register")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c