summaryrefslogtreecommitdiffstats
path: root/net/xfrm
diff options
context:
space:
mode:
authorSabrina Dubroca <sd@queasysnail.net>2022-09-27 17:45:29 +0200
committerSteffen Klassert <steffen.klassert@secunet.com>2022-09-29 07:17:58 +0200
commite1e10b44cf284248fb099681f48cc723564a1cc8 (patch)
treed30f22b56dd8b3c4d8ae32baac2a099976e45e7a /net/xfrm
parentMerge branch 'xfrm: add netlink extack for state creation' (diff)
downloadlinux-e1e10b44cf284248fb099681f48cc723564a1cc8.tar.xz
linux-e1e10b44cf284248fb099681f48cc723564a1cc8.zip
xfrm: pass extack down to xfrm_type ->init_state
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/xfrm')
-rw-r--r--net/xfrm/xfrm_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_state.c b/net/xfrm/xfrm_state.c
index 0b59ff7985e6..82c571d07836 100644
--- a/net/xfrm/xfrm_state.c
+++ b/net/xfrm/xfrm_state.c
@@ -2673,7 +2673,7 @@ int __xfrm_init_state(struct xfrm_state *x, bool init_replay, bool offload,
x->type_offload = xfrm_get_type_offload(x->id.proto, family, offload);
- err = x->type->init_state(x);
+ err = x->type->init_state(x, extack);
if (err)
goto error;