[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230116130114.GF438791@gauss3.secunet.de>
Date: Mon, 16 Jan 2023 14:01:14 +0100
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Anastasia Belova <abelova@...ralinux.ru>
CC: Herbert Xu <herbert@...dor.apana.org.au>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Dmitry Safonov <0x7f454c46@...il.com>,
<netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<lvc-project@...uxtesting.org>
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@...ralinux.ru>
Applied, thanks a lot Anastasia!
Powered by blists - more mailing lists