Files
linux-stable-mirror/net/ipv6
Antony Antony 231a1744dc 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>
2026-06-04 12:22:35 +02:00
..
2026-04-18 12:09:52 -07:00
2026-04-08 19:08:56 -07:00
2026-04-12 12:33:33 -07:00
2026-06-04 12:22:35 +02:00
2026-03-13 18:57:44 -07:00
2026-03-13 18:57:44 -07:00