diff options
| author | Antony Antony <antony.antony@secunet.com> | 2026-05-26 22:07:30 +0300 |
|---|---|---|
| committer | Steffen Klassert <steffen.klassert@secunet.com> | 2026-06-04 13:22:39 +0300 |
| commit | 8de53883a4bf807a628f0d150a7ca7ddf56a5cc3 (patch) | |
| tree | b36df409612ab3970137b28c8ef5e3e91cfd58e3 /tools | |
| parent | e2e92714d08117d18f0e560673206717d10edbd4 (diff) | |
| download | linux-8de53883a4bf807a628f0d150a7ca7ddf56a5cc3.tar.xz | |
xfrm: split xfrm_state_migrate into create and install functions
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.
Reviewed-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: Antony Antony <antony.antony@secunet.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
