[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALDO+SZXB8f8zP3sZTHpEgS3xspXbzTVBW18ODSfKsYJna-2Ew@mail.gmail.com>
Date: Tue, 9 Mar 2021 10:53:41 -0800
From: William Tu <u9012063@...il.com>
To: Hangbin Liu <liuhangbin@...il.com>
Cc: Linux Kernel Network Developers <netdev@...r.kernel.org>,
Jakub Kicinski <kuba@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Yi-Hung Wei <yihung.wei@...il.com>,
David Miller <davem@...emloft.net>, bpf <bpf@...r.kernel.org>
Subject: Re: [PATCH net] selftests/bpf: set gopt opt_class to 0 if get tunnel
opt failed
On Mon, Mar 8, 2021 at 7:22 PM Hangbin Liu <liuhangbin@...il.com> wrote:
>
> When fixing the bpf test_tunnel.sh genve failure. I only fixed
> the IPv4 part but forgot the IPv6 issue. Similar with the IPv4
> fixes 557c223b643a ("selftests/bpf: No need to drop the packet when
> there is no geneve opt"), when there is no tunnel option and
> bpf_skb_get_tunnel_opt() returns error, there is no need to drop the
> packets and break all geneve rx traffic. Just set opt_class to 0 and
> keep returning TC_ACT_OK at the end.
>
> Fixes: 933a741e3b82 ("selftests/bpf: bpf tunnel test.")
> Signed-off-by: Hangbin Liu <liuhangbin@...il.com>
> ---
LGTM, thanks.
Acked-by: William Tu <u9012063@...il.com>
Powered by blists - more mailing lists