Re: [PATCH net-next 03/10] genetlink: remove userhdr from struct genl_info
From: Jiri Pirko <jiri@resnulli.us>
Date: 2023-08-10 08:26:38
Also in:
linux-block
From: Jiri Pirko <jiri@resnulli.us>
Date: 2023-08-10 08:26:38
Also in:
linux-block
Wed, Aug 09, 2023 at 08:26:41PM CEST, kuba@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@kernel.org>
Reviewed-by: Jiri Pirko <redacted> I'm fine with the existing message, but what Johannes suggests is also ok.