lkml.org 
[lkml]   [2026]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH ipsec-next v8 06/14] xfrm: split xfrm_state_migrate into create and install functions
2026-05-05, 06:33:07 +0200, Antony Antony wrote:
> To prepare for subsequent patches, split
> xfrm_state_migrate() into two functions:
> - xfrm_state_migrate_create(): creates the migrated state
> - xfrm_state_migrate_install(): installs it into the state table
>
> splitting will help to avoid SN/IV reuse when migrating AEAD SA.
>
> And add const whenever possible.
> No functional change.
>
> Signed-off-by: Antony Antony <antony.antony@secunet.com>

Reviewed-by: Sabrina Dubroca <sd@queasysnail.net>

(I was going to mention xuo, but I see it's handled later on)

--
Sabrina

\
 
 \ /
  Last update: 2026-05-07 12:11    [W:0.178 / U:3.327 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog