OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b7bf42
)
pptp: Accept packet with seq zero
author
Bradley Peterson
<despite@gmail.com>
Thu, 12 Jan 2012 10:39:16 +0000
(10:39 +0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 13 Jan 2012 04:05:28 +0000
(20:05 -0800)
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>
drivers/net/ppp/pptp.c
patch
|
blob
|
history
diff --git
a/drivers/net/ppp/pptp.c
b/drivers/net/ppp/pptp.c
index
c1c9293
..
df884dd
100644
(file)
--- 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 = 0
xffffffff
;
+ opt->ack_recv = 0; opt->ack_sent = 0
xffffffff
;
error = 0;
out: