aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ppp
diff options
context:
space:
mode:
authorBradley Peterson <despite@gmail.com>2012-01-12 05:39:16 -0500
committerDavid S. Miller <davem@davemloft.net>2012-01-12 23:05:28 -0500
commit91dce7ddab99a29b600e3d792b847dc2cdbf0848 (patch)
tree5af5d6d5141c203d92ca0fe3f25b6e54be13e8c7 /drivers/net/ppp
parent5b7bf42e3d47fb16aaf53776ae3eaaf1be247a35 (diff)
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 <despite@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ppp')
-rw-r--r--drivers/net/ppp/pptp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ppp/pptp.c b/drivers/net/ppp/pptp.c
index c1c9293c2bbf..df884dde2a51 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)
585 po = pppox_sk(sk); 585 po = pppox_sk(sk);
586 opt = &po->proto.pptp; 586 opt = &po->proto.pptp;
587 587
588 opt->seq_sent = 0; opt->seq_recv = 0; 588 opt->seq_sent = 0; opt->seq_recv = 0xffffffff;
589 opt->ack_recv = 0; opt->ack_sent = 0; 589 opt->ack_recv = 0; opt->ack_sent = 0xffffffff;
590 590
591 error = 0; 591 error = 0;
592out: 592out: