Re: [PATCH net-next 04/10] genetlink: add struct genl_info to struct genl_dumpit_info
From: Jiri Pirko <jiri@resnulli.us>
Date: 2023-08-10 08:34:04
From: Jiri Pirko <jiri@resnulli.us>
Date: 2023-08-10 08:34:04
Wed, Aug 09, 2023 at 08:26:42PM CEST, kuba@kernel.org wrote:
Netlink GET implementations must currently juggle struct genl_info and struct netlink_callback, depending on whether they were called from doit or dumpit. Add genl_info to the dump state and populate the fields. This way implementations can simply pass struct genl_info around. Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Jiri Pirko <redacted> The removal of info->attrs I was about to suggest is done in the next patch, so all good :)