Messages in this thread |  | | Date | Thu, 7 May 2026 15:26:50 +0200 | | From | Sabrina Dubroca <> | | Subject | Re: [PATCH ipsec-next v8 10/14] xfrm: move encap and xuo into struct xfrm_migrate |
| |
2026-05-05, 06:34:04 +0200, Antony Antony wrote: > In preparation for an upcoming patch, move the xfrm_encap_tmpl and > xfrm_user_offload pointers from separate parameters into struct > xfrm_migrate, reducing the parameter count of > xfrm_state_migrate_create(), xfrm_state_migrate_install(), and > xfrm_state_migrate(). > > The fields are placed after the four xfrm_address_t members where > the struct is naturally 8-byte aligned, avoiding padding. > > No functional change. > > Signed-off-by: Antony Antony <antony.antony@secunet.com> > > --- > v5->v6: added this patch. > --- > include/net/xfrm.h | 7 ++----- > net/xfrm/xfrm_policy.c | 4 +++- > net/xfrm/xfrm_state.c | 20 +++++++------------- > 3 files changed, 12 insertions(+), 19 deletions(-)
Reviewed-by: Sabrina Dubroca <sd@queasysnail.net>
-- Sabrina
|  |