[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZNSg92UgJm0Kq/hY@nanopsycho>
Date: Thu, 10 Aug 2023 10:33:59 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
pabeni@...hat.com, johannes@...solutions.net
Subject: Re: [PATCH net-next 04/10] genetlink: add struct genl_info to struct
genl_dumpit_info
Wed, Aug 09, 2023 at 08:26:42PM CEST, kuba@...nel.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@...nel.org>
Reviewed-by: Jiri Pirko <jiri@...dia.com>
The removal of info->attrs I was about to suggest is done in the next
patch, so all good :)
Powered by blists - more mailing lists