Re: [PATCH ipsec-next] xfrm: no need to set DST_NOPOLICY in IPv4

From: Steffen Klassert
Date: Thu Jun 23 2022 - 06:48:47 EST


On Fri, May 20, 2022 at 02:01:19PM +0200, Nicolas Dichtel wrote:
>
> Le 20/05/2022 à 12:48, Eyal Birger a écrit :
> > This is a cleanup patch following commit e6175a2ed1f1
> > ("xfrm: fix "disable_policy" flag use when arriving from different devices")
> > which made DST_NOPOLICY no longer be used for inbound policy checks.
> >
> > On outbound the flag was set, but never used.
> >
> > As such, avoid setting it altogether and remove the nopolicy argument
> > from rt_dst_alloc().
> >
> > Signed-off-by: Eyal Birger <eyal.birger@xxxxxxxxx>
> Reviewed-by: Nicolas Dichtel <nicolas.dichtel@xxxxxxxxx>

Now applied to ipsec-next, thanks everyone!