From: Bradley Peterson Date: Thu, 12 Jan 2012 10:39:16 +0000 (+0000) Subject: pptp: Accept packet with seq zero X-Git-Tag: v3.3-rc1~82^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=91dce7ddab99a29b600e3d792b847dc2cdbf0848;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git pptp: Accept packet with seq zero Initialize the PPTP "seq received" value to 0xffffffff, so we don't ignore packets with seq zero. Signed-off-by: Bradley Peterson Signed-off-by: David S. Miller --- diff --git a/drivers/net/ppp/pptp.c b/drivers/net/ppp/pptp.c index c1c9293..df884dd 100644 --- a/drivers/net/ppp/pptp.c +++ b/drivers/net/ppp/pptp.c @@ -585,8 +585,8 @@ static int pptp_create(struct net *net, struct socket *sock) po = pppox_sk(sk); opt = &po->proto.pptp; - opt->seq_sent = 0; opt->seq_recv = 0; - opt->ack_recv = 0; opt->ack_sent = 0; + opt->seq_sent = 0; opt->seq_recv = 0xffffffff; + opt->ack_recv = 0; opt->ack_sent = 0xffffffff; error = 0; out: