[Drbd-dev] [PATCH net-next 03/10] genetlink: remove userhdr from struct genl_info
Jiri Pirko
jiri at resnulli.us
Thu Aug 10 10:26:22 CEST 2023
Wed, Aug 09, 2023 at 08:26:41PM CEST, kuba at kernel.org wrote:
>Only three families use info->userhdr and fixed headers
>are discouraged for new families. So remove the pointer
>from struct genl_info to save some space. Compute
>the header pointer at runtime. Saved space will be used
>for a family pointer in later patches.
>
>Signed-off-by: Jakub Kicinski <kuba at kernel.org>
Reviewed-by: Jiri Pirko <jiri at nvidia.com>
I'm fine with the existing message, but what Johannes suggests is also
ok.
More information about the drbd-dev
mailing list