diff options
| author | 2026-10-07 11:35:09 +0200 | |
|---|---|---|
| committer | 2026-10-19 08:02:05 +0200 | |
| commit | 6362f459bfc485d805f0439ae4566c1b014abfa4 (patch) | |
| tree | 7b2819e682d8803ac0e37d4e64aa8d502b47a91b /scripts | |
| parent | xfrm: policy: reject mark with bits outside its mask on add (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 'scripts')
0 files changed, 0 insertions, 0 deletions
