[PATCH v4 13/19] liveupdate: Add feature header to struct luo_flb_header_ser

sashiko-bot at kernel.org sashiko-bot at kernel.org
Tue Nov 10 22:16:48 PST 2026


> Precede struct luo_flb_header_ser with struct kho_ser_hdr via
> DECLARE_KHO_SER so future File-Lifecycle-Bound (FLB) header features can
> append fields to struct luo_flb_header_ser without breaking compatibility
> between adjacent kernels.
> 
> Initialize the header in luo_flb_setup_outgoing() and place the outgoing
> entry array immediately after kho_ser_size(luo_flb_header_ser). On the
> incoming path in luo_flb_setup_incoming(), validate the feature header
> with kho_ser_validate() and locate the incoming entry array at
> fhdr->size so entries remain properly aligned even if the source kernel
> serialized a different header layout.
> 
> Signed-off-by: Tarun Sahu <tarunsahu at google.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261110050202.529473-1-tarunsahu@google.com?part=13




More information about the kexec mailing list