diff options
| author | Sabrina Dubroca <sd@queasysnail.net> | 2025-10-16 12:39:16 +0200 |
|---|---|---|
| committer | Steffen Klassert <steffen.klassert@secunet.com> | 2025-10-21 10:42:45 +0200 |
| commit | 1dcf617bec5cb85f68ca19969e7537ef6f6931d3 (patch) | |
| tree | 75b037f0d112a28539ef61b5490171bef74a6510 /net/unix/af_unix.c | |
| parent | 7f02285764790e0ff1a731b4187fa3e389ed02c7 (diff) | |
xfrm: set err and extack on failure to create pcpu SA
xfrm_state_construct can fail without setting an error if the
requested pcpu_num value is too big. Set err and add an extack message
to avoid confusing userspace.
Fixes: 1ddf9916ac09 ("xfrm: Add support for per cpu xfrm state handling.")
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions