Re: [PATCH 1/2] ipv4: l2tp: fix a potential issue in l2tp_ip_recv

2016-04-04 Thread David Miller
From: Haishuang Yan Date: Sun, 3 Apr 2016 22:09:23 +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.

Re: [PATCH 1/2] ipv4: l2tp: fix a potential issue in l2tp_ip_recv

2016-04-04 Thread David Miller
From: Haishuang Yan Date: Sun, 3 Apr 2016 22:09:23 +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 1/2] ipv4: l2tp: fix a potential issue in l2tp_ip_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_ip.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/net/l2tp/l2tp_ip.c b/net/l2tp/l2tp_ip.c index

[PATCH 1/2] ipv4: l2tp: fix a potential issue in l2tp_ip_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_ip.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/net/l2tp/l2tp_ip.c b/net/l2tp/l2tp_ip.c index ec22078..42de4cc 100644 ---