[ovs-dev] [PATCH V3 40/40] erspan: fix invalid erspan version.

William Tu u9012063 at gmail.com
Tue May 22 01:11:18 UTC 2018


On Fri, May 18, 2018 at 5:49 PM, Greg Rose <gvrose8192 at gmail.com> wrote:
> From: William Tu <u9012063 at gmail.com>
>
> ERSPAN only support version 1 and 2.  When packets send to an
> erspan device which does not have proper version number set,
> drop the packet.  In real case, we observe multicast packets
> sent to the erspan pernet device, erspan0, which does not have
> erspan version configured.
>
> Reported-by: Greg Rose <gvrose8192 at gmail.com>
> Signed-off-by: William Tu <u9012063 at gmail.com>
> ---

Thanks for backporting this patch.

Just to add a note that without this patch, we observe warning message from
ovs-vswitchd as below, due to receive an malformed erspan packet.
00009|odp_util(revalidator9)|WARN|odp_tun_key_from_attr__ invalid erspan version

Acked-by: William Tu <u9012063 at gmail.com>


More information about the dev mailing list