Commit 91dce7ddab99a29b600e3d792b847dc2cdbf0848
Committed by
David S. Miller
1 parent
5b7bf42e3d
Exists in
master
and in
6 other branches
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>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
drivers/net/ppp/pptp.c
... | ... | @@ -585,8 +585,8 @@ |
585 | 585 | po = pppox_sk(sk); |
586 | 586 | opt = &po->proto.pptp; |
587 | 587 | |
588 | - opt->seq_sent = 0; opt->seq_recv = 0; | |
589 | - opt->ack_recv = 0; opt->ack_sent = 0; | |
588 | + opt->seq_sent = 0; opt->seq_recv = 0xffffffff; | |
589 | + opt->ack_recv = 0; opt->ack_sent = 0xffffffff; | |
590 | 590 | |
591 | 591 | error = 0; |
592 | 592 | out: |