[ovs-dev] [PATCH 4/8] datapath: check tunnel option type in tunnel flags
William Tu
u9012063 at gmail.com
Mon Dec 10 17:59:23 UTC 2018
On Wed, Dec 5, 2018 at 10:56 AM Greg Rose <gvrose8192 at gmail.com> wrote:
>
> From: Pieter Jansen van Vuuren <pieter.jansenvanvuuren at netronome.com>
>
> Upstream commit:
> commit 256c87c17c53e60882a43dcf3e98f3bf859eaf6f
> Author: Pieter Jansen van Vuuren <pieter.jansenvanvuuren at netronome.com>
> Date: Tue Jun 26 21:39:36 2018 -0700
>
> net: check tunnel option type in tunnel flags
>
> Check the tunnel option type stored in tunnel flags when creating options
> for tunnels. Thereby ensuring we do not set geneve, vxlan or erspan tunnel
> options on interfaces that are not associated with them.
>
> Make sure all users of the infrastructure set correct flags, for the BPF
> helper we have to set all bits to keep backward compatibility.
>
> Signed-off-by: Pieter Jansen van Vuuren <pieter.jansenvanvuuren at netronome.com>
> Signed-off-by: Jakub Kicinski <jakub.kicinski at netronome.com>
> Signed-off-by: David S. Miller <davem at davemloft.net>
>
> CC: Pieter Jansen van Vuuren <pieter.jansenvanvuuren at netronome.com>
> Signed-off-by: Greg Rose <gvrose8192 at gmail.com>
> ---
LGTM.
Acked-by: William Tu <u9012063 at gmail.com>
More information about the dev
mailing list