Messages in this thread | | | Date | Tue, 3 Oct 2023 13:36:33 +0200 | From | Simon Horman <> | Subject | Re: [PATCH net] devlink: Hold devlink lock on health reporter dump get |
| |
On Sun, Oct 01, 2023 at 06:19:40PM +0300, Moshe Shemesh wrote: > Devlink health dump get callback should take devlink lock as any other > devlink callback. Add devlink lock to the callback and to any call for > devlink_health_do_dump(). > > As devlink lock is added to any callback of dump, the reporter dump_lock > is now redundant and can be removed. > > Fixes: d3efc2a6a6d8 ("net: devlink: remove devlink_mutex") > Signed-off-by: Moshe Shemesh <moshe@nvidia.com> > Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Simon Horman <horms@kernel.org>
| |