Skip to content
Snippets Groups Projects
Commit 91dce7dd authored by Bradley Peterson's avatar Bradley Peterson Committed by David S. Miller
Browse files

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: default avatarBradley Peterson <despite@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5b7bf42e
No related branches found
No related tags found
No related merge requests found
...@@ -585,8 +585,8 @@ static int pptp_create(struct net *net, struct socket *sock) ...@@ -585,8 +585,8 @@ static int pptp_create(struct net *net, struct socket *sock)
po = pppox_sk(sk); po = pppox_sk(sk);
opt = &po->proto.pptp; opt = &po->proto.pptp;
opt->seq_sent = 0; opt->seq_recv = 0; opt->seq_sent = 0; opt->seq_recv = 0xffffffff;
opt->ack_recv = 0; opt->ack_sent = 0; opt->ack_recv = 0; opt->ack_sent = 0xffffffff;
error = 0; error = 0;
out: out:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment