[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZIBGgjWwILqQziGe@gauss3.secunet.de>
Date: Wed, 7 Jun 2023 10:57:38 +0200
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Herbert Xu <herbert@...dor.apana.org.au>
CC: <netdev@...r.kernel.org>, David George <David.George@...hos.com>, "Markus
Trapp" <markus.trapp@...unet.com>
Subject: Re: [PATCH] xfrm: Use xfrm_state selector for BEET input
On Wed, Jun 07, 2023 at 04:50:51PM +0800, Herbert Xu wrote:
> On Wed, Jun 07, 2023 at 10:47:45AM +0200, Steffen Klassert wrote:
> >
> > Hm, I thought about that one too. But x->sel.family can
> > also be AF_UNSPEC, in which case we used the address
> > family of the inner mode before your change.
>
> It must not be AF_UNSPECT for BEET. How would you even get the
> inner addresses if it were UNSPEC?
>
> With BEET the inner addresses are stored in the IPsec SA rather
> than the actual packet. So the family is also fixed for a given
> SA (which we call xfrm_state).
Right, Good point.
Thanks!
Powered by blists - more mailing lists