OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27258ee
)
[DCCP]: Initialize icsk_rto in dccp_v4_init_sock
author
Arnaldo Carvalho de Melo
<acme@mandriva.com>
Wed, 10 Aug 2005 03:31:11 +0000
(20:31 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Mon, 29 Aug 2005 22:55:43 +0000
(15:55 -0700)
Fixes nasty bug related to the retransmit timer (yeah, DCCP does
retransmits) firing too early.
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/ipv4.c
patch
|
blob
|
history
diff --git
a/net/dccp/ipv4.c
b/net/dccp/ipv4.c
index
4fa56db
..
6bccf4d
100644
(file)
--- a/
net/dccp/ipv4.c
+++ b/
net/dccp/ipv4.c
@@
-1219,6
+1219,7
@@
static int dccp_v4_init_sock(struct sock *sk)
dccp_ctl_socket_init = 0;
dccp_init_xmit_timers(sk);
+ inet_csk(sk)->icsk_rto = DCCP_TIMEOUT_INIT;
sk->sk_state = DCCP_CLOSED;
dp->dccps_mss_cache = 536;
dp->dccps_role = DCCP_ROLE_UNDEFINED;