diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-08-14 14:47:14 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-08-15 14:54:44 -0700 |
commit | 84817d8c6042e6261ea45c53fe8b5a0bd55c3993 (patch) | |
tree | ef5743f845054913133ee0bc1ed5d07487198511 /block | |
parent | 479b322ee6feaff612285a0e7f22c022e8cd84eb (diff) |
genetlink: push conditional locking into dumpit/done
Add helpers which take/release the genl mutex based
on family->parallel_ops. Remove the separation between
handling of ops in locked and parallel families.
Future patches would make the duplicated code grow even more.
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20230814214723.2924989-2-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions