Jakub Kicinski e4d5015bc1 devlink: uniformly take the devlink instance lock in the dump loop
Move the lock taking out of devlink_nl_cmd_region_get_devlink_dumpit().
This way all dumps will take the instance lock in the main iteration
loop directly, making refactoring and reading the code easier.

Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-01-05 22:13:39 -08:00
..
2022-12-23 11:39:18 -08:00
2022-12-13 15:47:48 -08:00
2022-12-13 15:47:48 -08:00
2022-12-17 14:06:53 -06:00
2022-12-13 15:47:48 -08:00
2022-12-21 18:05:47 -08:00
2022-12-13 15:47:48 -08:00
2022-12-26 09:09:23 +00:00
2022-12-13 15:47:48 -08:00
2022-12-13 15:47:48 -08:00
2022-12-13 15:47:48 -08:00
2022-12-13 15:47:48 -08:00
2022-12-16 03:54:54 -08:00
2022-08-22 14:26:30 +01:00
2022-12-13 15:47:48 -08:00