diff options
| author | Antony Antony <antony.antony@secunet.com> | 2026-05-26 22:06:06 +0300 |
|---|---|---|
| committer | Steffen Klassert <steffen.klassert@secunet.com> | 2026-06-04 13:22:35 +0300 |
| commit | 231a1744dc433e8f39871a8fd0f5eab78202e136 (patch) | |
| tree | 242fbc054ee64ba3fea40a09acc633b44c30f780 /tools/lib/python/feat | |
| parent | 440bf355d32e14115b16d2869fc4e8e98e4a012a (diff) | |
| download | linux-231a1744dc433e8f39871a8fd0f5eab78202e136.tar.xz | |
xfrm: add extack to xfrm_init_state
Add a struct extack parameter to xfrm_init_state() and pass it
through to __xfrm_init_state(). This allows validation errors detected
during state initialization to propagate meaningful error messages back
to userspace.
xfrm_state_migrate() now passes extack so that errors from the
XFRM_MSG_MIGRATE_STATE path are properly reported. Callers without an
extack context (af_key, ipcomp4, ipcomp6) pass NULL, preserving their
existing behaviour.
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/lib/python/feat')
0 files changed, 0 insertions, 0 deletions
