[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1365520328.3887.141.camel@edumazet-glaptop>
Date: Tue, 09 Apr 2013 08:12:08 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Ed W <lists@...dgooses.com>
Cc: Linux Networking Developer Mailing List <netdev@...r.kernel.org>
Subject: Re: Modifying the exponential backoff on new connection SYN packets
On Tue, 2013-04-09 at 06:48 -0700, Eric Dumazet wrote:
> You'll have to change inet_csk_reqsk_queue_prune() in
> net/ipv4/inet_connection_sock.c
>
> timeo = min(timeout << req->num_timeout, max_rto);
> req->expires = now + timeo;
>
> Good luck !
Oh well, this code is for SYNACK retransmits...
For other retransmits, you'll have to take a look in
net/ipv4/tcp_timer.c, around lines 475
icsk->icsk_rto = min(icsk->icsk_rto << 1, TCP_RTO_MAX);
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists