summaryrefslogtreecommitdiffstats
path: root/net/key
diff options
context:
space:
mode:
authorSabrina Dubroca <sd@queasysnail.net>2022-11-24 15:43:43 +0100
committerSteffen Klassert <steffen.klassert@secunet.com>2022-11-25 10:11:42 +0100
commitc2dad11e0466a27d40041845cf63cdfb4fbd991f (patch)
tree66024b182091a68cb04ea4c33e7d76e61f9fc20a /net/key
parentbd12240337f43522b99c43f8976af34c712b5f57 (diff)
downloadlinux-stable-c2dad11e0466a27d40041845cf63cdfb4fbd991f.tar.gz
linux-stable-c2dad11e0466a27d40041845cf63cdfb4fbd991f.tar.bz2
linux-stable-c2dad11e0466a27d40041845cf63cdfb4fbd991f.zip
xfrm: add extack to xfrm_alloc_userspi
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/key')
-rw-r--r--net/key/af_key.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/key/af_key.c b/net/key/af_key.c
index 7f4ff5fe2257..e1d2155605aa 100644
--- a/net/key/af_key.c
+++ b/net/key/af_key.c
@@ -1377,13 +1377,13 @@ static int pfkey_getspi(struct sock *sk, struct sk_buff *skb, const struct sadb_
max_spi = range->sadb_spirange_max;
}
- err = verify_spi_info(x->id.proto, min_spi, max_spi);
+ err = verify_spi_info(x->id.proto, min_spi, max_spi, NULL);
if (err) {
xfrm_state_put(x);
return err;
}
- err = xfrm_alloc_spi(x, min_spi, max_spi);
+ err = xfrm_alloc_spi(x, min_spi, max_spi, NULL);
resp_skb = err ? ERR_PTR(err) : pfkey_xfrm_state2msg(x);
if (IS_ERR(resp_skb)) {