Thread (30 messages) 30 messages, 5 authors, 2023-08-10

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

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 :)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help