diff options
| author | Antony Antony <antony.antony@secunet.com> | 2026-10-07 11:35:09 +0200 |
|---|---|---|
| committer | Steffen Klassert <steffen.klassert@secunet.com> | 2026-10-19 08:02:05 +0200 |
| commit | 6362f459bfc485d805f0439ae4566c1b014abfa4 (patch) | |
| tree | 7b2819e682d8803ac0e37d4e64aa8d502b47a91b /rust/kernel/alloc/allocator | |
| parent | b3056e57b0657a4401349187c620d0fa1b8914c8 (diff) | |
xfrm: state: exact mark/mask match for SPI-keyed control-plane SA lookups
Add __xfrm_state_lookup_exact(); wire it into DELSA/GETSA, GETAE/NEWAE,
EXPIRE, MIGRATE_STATE. xfrm_state_update() (UPDSA) keeps wildcard match
because ALLOCSPI's larval state may be unmarked (mark 0/0), so an
exact-match UPDSA would not find it and the ADD fallback would then
fail with -EEXIST via xfrm_state_add().
Fixes: 3d6acfa7641f ("xfrm: SA lookups with mark")
Signed-off-by: Antony Antony <antony.antony@secunet.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'rust/kernel/alloc/allocator')
0 files changed, 0 insertions, 0 deletions
