Re: [PATCH net] selftest/bpf: no need to drop the packet when there is no geneve opt

2021-02-24 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to bpf/bpf.git (refs/heads/master): On Wed, 24 Feb 2021 16:14:03 +0800 you wrote: > In bpf geneve tunnel test we set geneve option on tx side. On rx side we > only call bpf_skb_get_tunnel_opt(). Since commit 9c2e14b48119 ("ip_tunnels: > Set tunnel option flag when tu

Re: [PATCH net] selftest/bpf: no need to drop the packet when there is no geneve opt

2021-02-24 Thread William Tu
On Wed, Feb 24, 2021 at 12:37 AM Hangbin Liu wrote: > > In bpf geneve tunnel test we set geneve option on tx side. On rx side we > only call bpf_skb_get_tunnel_opt(). Since commit 9c2e14b48119 ("ip_tunnels: > Set tunnel option flag when tunnel metadata is present") geneve_rx() will > not add TUNNE

[PATCH net] selftest/bpf: no need to drop the packet when there is no geneve opt

2021-02-24 Thread Hangbin Liu
In bpf geneve tunnel test we set geneve option on tx side. On rx side we only call bpf_skb_get_tunnel_opt(). Since commit 9c2e14b48119 ("ip_tunnels: Set tunnel option flag when tunnel metadata is present") geneve_rx() will not add TUNNEL_GENEVE_OPT flag if there is no geneve option, which cause bpf