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 :)