[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200216.183208.2094995024213878147.davem@davemloft.net>
Date: Sun, 16 Feb 2020 18:32:08 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: liuhangbin@...il.com
Cc: netdev@...r.kernel.org, petrm@...lanox.com, jiri@...lanox.com
Subject: Re: [PATCH net] selftests: forwarding: use proto icmp for
{gretap,ip6gretap}_mac testing
From: Hangbin Liu <liuhangbin@...il.com>
Date: Tue, 11 Feb 2020 15:32:56 +0800
> For tc ip_proto filter, when we extract the flow via __skb_flow_dissect()
> without flag FLOW_DISSECTOR_F_STOP_AT_ENCAP, we will continue extract to
> the inner proto.
>
> So for GRE + ICMP messages, we should not track GRE proto, but inner ICMP
> proto.
>
> For test mirror_gre.sh, it may make user confused if we capture ICMP
> message on $h3(since the flow is GRE message). So I move the capture
> dev to h3-gt{4,6}, and only capture ICMP message.
...
> Fixes: ba8d39871a10 ("selftests: forwarding: Add test for mirror to gretap")
> Signed-off-by: Hangbin Liu <liuhangbin@...il.com>
Applied, thank you.
Powered by blists - more mailing lists