projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.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
|
blame
|
history
diff --git
a/drivers/net/ppp/pptp.c
b/drivers/net/ppp/pptp.c
index c1c9293c2bbf1eecd638d8d6e428777951cdff9d..df884dde2a511c27b95db1edef5848886b6c9abd 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: