mirror of https://gitee.com/openkylin/linux.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 <despite@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
5b7bf42e3d
commit
91dce7ddab
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue