Messages in this thread | | | Date | Mon, 16 Jan 2023 14:01:14 +0100 | From | Steffen Klassert <> | Subject | Re: [PATCH] xfrm: compat: change expression for switch in xfrm_xlate64 |
| |
On Tue, Jan 10, 2023 at 12:14:50PM +0300, Anastasia Belova wrote: > 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>
Applied, thanks a lot Anastasia!
| |