Re: [PATCH] ip_tunnels: Set tunnel option flag when tunnel metadata is present

2020-11-13 Thread Jakub Kicinski
On Sat, 14 Nov 2020 01:46:04 +0100 Daniel Borkmann wrote: > On 11/14/20 1:13 AM, Jakub Kicinski wrote: > > On Tue, 10 Nov 2020 16:16:40 -0800 Yi-Hung Wei wrote: > >> Currently, we may set the tunnel option flag when the size of metadata > >> is zero. For example, we set TUNNEL_GENEVE_OPT in the

Re: [PATCH] ip_tunnels: Set tunnel option flag when tunnel metadata is present

2020-11-13 Thread Daniel Borkmann
On 11/14/20 1:13 AM, Jakub Kicinski wrote: On Tue, 10 Nov 2020 16:16:40 -0800 Yi-Hung Wei wrote: Currently, we may set the tunnel option flag when the size of metadata is zero. For example, we set TUNNEL_GENEVE_OPT in the receive function no matter the geneve option is present or not. As this

Re: [PATCH] ip_tunnels: Set tunnel option flag when tunnel metadata is present

2020-11-13 Thread Jakub Kicinski
On Tue, 10 Nov 2020 16:16:40 -0800 Yi-Hung Wei wrote: > Currently, we may set the tunnel option flag when the size of metadata > is zero. For example, we set TUNNEL_GENEVE_OPT in the receive function > no matter the geneve option is present or not. As this may result in > issues on the tunnel fla

Re: [PATCH] ip_tunnels: Set tunnel option flag when tunnel metadata is present

2020-11-10 Thread Yi-Hung Wei
On Tue, Nov 10, 2020 at 4:17 PM Yi-Hung Wei wrote: > > Currently, we may set the tunnel option flag when the size of metadata > is zero. For example, we set TUNNEL_GENEVE_OPT in the receive function > no matter the geneve option is present or not. As this may result in > issues on the tunnel fla

[PATCH] ip_tunnels: Set tunnel option flag when tunnel metadata is present

2020-11-10 Thread Yi-Hung Wei
Currently, we may set the tunnel option flag when the size of metadata is zero. For example, we set TUNNEL_GENEVE_OPT in the receive function no matter the geneve option is present or not. As this may result in issues on the tunnel flags consumers, this patch fixes the issue. Related discussion: