diff options
author | Haishuang Yan <yanhaishuang@cmss.chinamobile.com> | 2017-12-20 09:53:19 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-20 13:48:39 -0500 |
commit | 293a1991cf0d62d0a60b41af42f1dd601d5029fc (patch) | |
tree | c1b96a3713796fac03b1eafd434ab84375b4078a /net/ipv4/ip_gre.c | |
parent | 9a07ae68932b81c5666035aec3f7cb3017e5b13e (diff) |
ip6_gre: fix a pontential issue in ip6erspan_rcv
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@gmail.com>
Acked-by: William Tu <u9012063@gmail.com>
Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_gre.c')
0 files changed, 0 insertions, 0 deletions