ipv6: l2tp: fix a potential issue in l2tp_ip6_recv

[ Upstream commit be447f3054 ]

pskb_may_pull() can change skb->data, so we have to load ptr/optr at the
right place.

Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
This commit is contained in:
Haishuang Yan 2016-04-03 22:09:24 +08:00 • committed by Sasha Levin
commit 6eebc66dba