diff options
author | Anastasia Belova <abelova@astralinux.ru> | 2023-01-10 12:14:50 +0300 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2023-01-12 13:40:43 +0100 |
commit | eb6c59b735aa6cca77cdbb59cc69d69a0d63d986 (patch) | |
tree | 56a2b77967b1c25858deeacc59279680b66035a1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b0355dbbf13c0052931dd14c38c789efed64d3de (diff) |
xfrm: compat: change expression for switch in xfrm_xlate64
Compare XFRM_MSG_NEWSPDINFO (value from netlink
configuration messages enum) with nlh_src->nlmsg_type
instead of nlh_src->nlmsg_type - XFRM_MSG_BASE.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: 4e9505064f58 ("net/xfrm/compat: Copy xfrm_spdattr_type_t atributes")
Signed-off-by: Anastasia Belova <abelova@astralinux.ru>
Acked-by: Dmitry Safonov <0x7f454c46@gmail.com>
Tested-by: Dmitry Safonov <0x7f454c46@gmail.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions