[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211126145341.GP6326@breakpoint.cc>
Date: Fri, 26 Nov 2021 15:53:41 +0100
From: Florian Westphal <fw@...len.de>
To: Nicolas Dichtel <nicolas.dichtel@...nd.com>
Cc: fw@...len.de, pablo@...filter.org, lschlesinger@...venets.com,
dsahern@...nel.org, crosser@...rage.org,
netfilter-devel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH nf] vrf: don't run conntrack on vrf with !dflt qdisc
Nicolas Dichtel <nicolas.dichtel@...nd.com> wrote:
> After the below patch, the conntrack attached to skb is set to "notrack" in
> the context of vrf device, for locally generated packets.
> But this is true only when the default qdisc is set to the vrf device. When
> changing the qdisc, notrack is not set anymore.
> In fact, there is a shortcut in the vrf driver, when the default qdisc is
> set, see commit dcdd43c41e60 ("net: vrf: performance improvements for
> IPv4") for more details.
>
> This patch ensures that the behavior is always the same, whatever the qdisc
> is.
>
> To demonstrate the difference, a new test is added in conntrack_vrf.sh.
Thanks Nicolas for the explanation & test case.
Acked-by: Florian Westphal <fw@...len.de>
Powered by blists - more mailing lists