Hi David,

        Please consider pulling from:

rsync://rsync.kernel.org/pub/scm/linux/kernel/git/acme/net-2.6.14.git/

Best Regards,

                        - Arnaldo

tree 8389bb3fa23d6c8e8db4ba62a0160f4f28938b50
parent 55a364b972cbfbd731f1ae763e9b3818880daed8
author Arnaldo Carvalho de Melo <[EMAIL PROTECTED]> 1123632227 -0300
committer Arnaldo Carvalho de Melo <[EMAIL PROTECTED]> 1123632227 -0300

[DCCP] Initialize icsk_rto in dccp_v4_init_sock

Fixes nasty bug related to the retransmit timer (yeah, DCCP does retransmits)
firing too early.

Signed-off-by: Arnaldo Carvalho de Melo <[EMAIL PROTECTED]>
Signed-off-by: David S. Miller <[EMAIL PROTECTED]>

------------------------------------------------------------------------------

 ipv4.c |    1 +
 1 files changed, 1 insertion(+)

------------------------------------------------------------------------------

diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c
--- a/net/dccp/ipv4.c
+++ b/net/dccp/ipv4.c
@@ -1219,6 +1219,7 @@ static int dccp_v4_init_sock(struct sock
                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;
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to