[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZjNKlPAUUgcUkE6F@gauss3.secunet.de>
Date: Thu, 2 May 2024 10:11:00 +0200
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Antony Antony <antony.antony@...unet.com>
CC: Herbert Xu <herbert@...dor.apana.org.au>, <netdev@...r.kernel.org>, "David
S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>, "Jakub
Kicinski" <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
<devel@...ux-ipsec.org>, Leon Romanovsky <leon@...nel.org>, Eyal Birger
<eyal.birger@...il.com>, Nicolas Dichtel <nicolas.dichtel@...nd.com>,
"Sabrina Dubroca" <sd@...asysnail.net>
Subject: Re: [PATCH ipsec-next v14 0/4] xfrm: Introduce direction attribute
for SA
On Tue, Apr 30, 2024 at 09:08:06AM +0200, Antony Antony wrote:
> Hi,
>
> Inspired by the upcoming IP-TFS patch set, and confusions experienced in
> the past due to lack of direction attribute on SAs, add a new direction
> "dir" attribute. It aims to streamline the SA configuration process and
> enhance the clarity of existing SA attributes.
>
> This patch set introduces the 'dir' attribute to SA, aka xfrm_state,
> ('in' for input or 'out' for output). Alsp add validations of existing
> direction-specific SA attributes during configuration and in the data
> path lookup.
>
> This change would not affect any existing use case or way of configuring
> SA. You will notice improvements when the new 'dir' attribute is set.
>
> v14: add more SA flag checks.
> v13: has one fix, minor documenation updates, and function renaming.
>
> Antony Antony (4):
> xfrm: Add Direction to the SA in or out
> xfrm: Add dir validation to "out" data path lookup
> xfrm: Add dir validation to "in" data path lookup
> xfrm: Restrict SA direction attribute to specific netlink message
> types
Series applied, thanks a lot Antony!
Powered by blists - more mailing lists