sit: reload iphdr in ipip6_rcv
authorHaishuang Yan <yanhaishuang@cmss.chinamobile.com>
Sun, 4 Jun 2017 06:43:43 +0000 (14:43 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Jun 2017 03:04:31 +0000 (23:04 -0400)
commitb699d0035836f6712917a41e7ae58d84359b8ff9
treec6a2a1f2c5d17ad1a4500c0a63bba01200be0788
parent77d4b1d36926a9b8387c6b53eeba42bcaaffcea3
sit: reload iphdr in ipip6_rcv

Since iptunnel_pull_header() can call pskb_may_pull(),
we must reload any pointer that was related to skb->head.

Fixes: a09a4c8dd1ec ("tunnels: Remove encapsulation offloads on decap")
Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/sit.c