[ovs-dev] [PATCH V3 34/40] ip6erspan: improve error handling for erspan version number.

William Tu u9012063 at gmail.com
Tue May 22 01:03:52 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>
>
> Upstream commit:
>     commit d6aa71197ffcb68850bfebfc3fc160abe41df53b
>     Author: William Tu <u9012063 at gmail.com>
>     Date:   Fri Mar 9 07:34:41 2018 -0800
>
>     ip6erspan: improve error handling for erspan version number.
>
>     When users fill in incorrect erspan version number through
>     the struct erspan_metadata uapi, current code skips pushing
>     the erspan header but continue pushing the gre header, which
>     is incorrect.  The patch fixes it by returning error.
>
>     Signed-off-by: William Tu <u9012063 at gmail.com>
>     Signed-off-by: David S. Miller <davem at davemloft.net>
>
> Cc: William Tu <u9012063 at gmail.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