Re: [PATCH v3,net-next] ip6_gre: fix a pontential issue in ip6erspan_rcv

From: David Miller
Date: Wed Dec 20 2017 - 13:52:59 EST


From: Haishuang Yan <yanhaishuang@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 20 Dec 2017 09:53:19 +0800

> pskb_may_pull() can change skb->data, so we need to load ipv6h/ershdr at
> the right place.
>
> Fixes: 5a963eb61b7c ("ip6_gre: Add ERSPAN native tunnel support")
> Cc: William Tu <u9012063@xxxxxxxxx>
> Acked-by: William Tu <u9012063@xxxxxxxxx>
> Signed-off-by: Haishuang Yan <yanhaishuang@xxxxxxxxxxxxxxxxxxxx>
>
> ---
> Change since v3:
> * Rebase on latest master branch.
> * Fix wrong commit information.

Applied.