diff options
| author | Sabrina Dubroca <sd@queasysnail.net> | 2026-02-24 00:05:12 +0100 |
|---|---|---|
| committer | Steffen Klassert <steffen.klassert@secunet.com> | 2026-02-25 09:11:26 +0100 |
| commit | b57defcf8f109da5ba9cf59b2a736606faf3d846 (patch) | |
| tree | 1f9c660fd2c82f164cbd21517014d4979a1f11e6 /tools/perf/scripts/python/bin | |
| parent | aa8a3f3c67235422a0c3608a8772f69ca3b7b63f (diff) | |
xfrm: fix the condition on x->pcpu_num in xfrm_sa_len
pcpu_num = 0 is a valid value. The marker for "unset pcpu_num" which
makes copy_to_user_state_extra not add the XFRMA_SA_PCPU attribute is
UINT_MAX.
Fixes: 1ddf9916ac09 ("xfrm: Add support for per cpu xfrm state handling.")
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
