[PATCH 3.12 35/78] ipv6: l2tp: fix a potential issue in l2tp_ip6_recv

2016-04-22 Thread Jiri Slaby
From: Haishuang Yan 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit be447f305494e019dfc37ea4cdf3b0e4200b4eba ] pskb_may_pull() can change skb->data, so we have to load ptr/optr at the right

[PATCH 3.12 35/78] ipv6: l2tp: fix a potential issue in l2tp_ip6_recv

2016-04-22 Thread Jiri Slaby
From: Haishuang Yan 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit be447f305494e019dfc37ea4cdf3b0e4200b4eba ] pskb_may_pull() can change skb->data, so we have to load ptr/optr at the right place. Signed-off-by: Haishuang Yan