[ovs-dev] [PATCH V3 13/40] ip_gre: erspan: reload pointer after pskb_may_pull

William Tu u9012063 at gmail.com
Mon May 21 21:48:17 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 d91e8db5b629a3c8c81db4dc317a66c7b5591821
>     Author: William Tu <u9012063 at gmail.com>
>     Date:   Fri Dec 15 14:27:44 2017 -0800
>
>     net: erspan: reload pointer after pskb_may_pull
>
>     pskb_may_pull() can change skb->data, so we need to re-load pkt_md
>     and ershdr at the right place.
>
>     Fixes: 94d7d8f29287 ("ip6_gre: add erspan v2 support")
>     Fixes: f551c91de262 ("net: erspan: introduce erspan v2 for ip_gre")
>     Signed-off-by: William Tu <u9012063 at gmail.com>
>     Cc: Haishuang Yan <yanhaishuang at cmss.chinamobile.com>
>     Signed-off-by: David S. Miller <davem at davemloft.net>
>
> Only the ip_gre portion of the upstream commit.  The ipv6 portion
> is pulled in with later patch in series.
>
> 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