Re: [PATCH 2/2] ipv6: l2tp: fix a potential issue in l2tp_ip6_recv

2016-04-04 Thread David Miller
From: Haishuang Yan Date: Sun, 3 Apr 2016 22:09:24 +0800 > pskb_may_pull() can change skb->data, so we have to load ptr/optr at the > right place. > > Signed-off-by: Haishuang Yan Applied and queued up for -stable.

[PATCH 2/2] ipv6: l2tp: fix a potential issue in l2tp_ip6_recv

2016-04-03 Thread Haishuang Yan
pskb_may_pull() can change skb->data, so we have to load ptr/optr at the right place. Signed-off-by: Haishuang Yan --- net/l2tp/l2tp_ip6.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/net/l2tp/l2tp_ip6.c b/net/l2tp/l2tp_ip6.c