]> 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)
commitbebe1146c7701f4eb364235f2a91eeb47c931911
tree2bcdffb20146a6fcd7debe47874f9c0c26aef6d7
parenteb0ed74e3b5c75176bba43439e45e7c7b600e4a0
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