[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210902090521.GF9115@gauss3.secunet.de>
Date: Thu, 2 Sep 2021 11:05:21 +0200
From: Steffen Klassert <steffen.klassert@...unet.com>
To: "Dmitry V. Levin" <ldv@...linux.org>
CC: Antony Antony <antony.antony@...unet.com>,
Herbert Xu <herbert@...dor.apana.org.au>,
Christian Langrock <christian.langrock@...unet.com>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, <netdev@...r.kernel.org>
Subject: Re: [PATCH v2 ipsec-next] xfrm: Add possibility to set the default
to block if we have no policy
On Wed, Sep 01, 2021 at 06:14:02PM +0300, Dmitry V. Levin wrote:
>
> The following part of this patch is ABI break:
>
> > diff --git a/include/uapi/linux/xfrm.h b/include/uapi/linux/xfrm.h
> > index ffc6a5391bb7..6e8095106192 100644
> > --- a/include/uapi/linux/xfrm.h
> > +++ b/include/uapi/linux/xfrm.h
> > @@ -213,6 +213,11 @@ enum {
> > XFRM_MSG_GETSPDINFO,
> > #define XFRM_MSG_GETSPDINFO XFRM_MSG_GETSPDINFO
> >
> > + XFRM_MSG_SETDEFAULT,
> > +#define XFRM_MSG_SETDEFAULT XFRM_MSG_SETDEFAULT
> > + XFRM_MSG_GETDEFAULT,
> > +#define XFRM_MSG_GETDEFAULT XFRM_MSG_GETDEFAULT
> > +
> > XFRM_MSG_MAPPING,
> > #define XFRM_MSG_MAPPING XFRM_MSG_MAPPING
> > __XFRM_MSG_MAX
>
> After this change, strace no longer builds with the following diagnostics:
>
> ../../../src/xlat/nl_xfrm_types.h:162:1: error: static assertion failed: "XFRM_MSG_MAPPING != 0x26"
> 162 | static_assert((XFRM_MSG_MAPPING) == (0x26), "XFRM_MSG_MAPPING != 0x26");
Thanks for the report! In the meantime there is a fix proposed:
https://www.spinics.net/lists/netdev/msg764744.html
Powered by blists - more mailing lists