diff options
author | Jiri Pirko <jiri@nvidia.com> | 2023-01-18 16:21:08 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-01-19 19:08:37 -0800 |
commit | dfdfd1305ddecb990566193f2ba8a11bccba4cde (patch) | |
tree | e3b65f5f1a722af8d83c4547c41ad4415829f2af /init/noinitramfs.c | |
parent | 65a20c2eb96d698206846b27f9ac5ab05a24d569 (diff) |
devlink: protect health reporter operation with instance lock
Similar to other devlink objects, protect the reporters list
by devlink instance lock. Alongside add unlocked versions
of health reporter create/destroy functions and use them in drivers
on call paths where the instance lock is held.
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'init/noinitramfs.c')
0 files changed, 0 insertions, 0 deletions