]> git.baikalelectronics.ru Git - kernel.git/commit
devlink: Hold the instance lock in health callbacks
authorMoshe Shemesh <moshe@nvidia.com>
Thu, 28 Jul 2022 15:53:50 +0000 (18:53 +0300)
committerJakub Kicinski <kuba@kernel.org>
Fri, 29 Jul 2022 04:58:47 +0000 (21:58 -0700)
commite3addbcccb56b459113196285bea680ef03c1c1f
tree2bcdffb20146a6fcd7debe47874f9c0c26aef6d7
parentc9b692c7e784771c3647d7ca0fc30460a5b9f074
devlink: Hold the instance lock in health callbacks

Let the core take the devlink instance lock around health callbacks and
remove the now redundant locking in the drivers.

Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/health.c
net/core/devlink.c