From f058535deb27dc47787b4aaecee1c7ee1fc24faa Mon Sep 17 00:00:00 2001 From: Jeffrey Hsu Date: Wed, 4 Jun 2003 10:03:55 +0000 Subject: [PATCH] Compensate for decreasing the minimum retransmit timeout. Reviewed by: jlemon --- sys/netinet/tcp_timer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c index 98a35462b2ef..4dfdba45b130 100644 --- a/sys/netinet/tcp_timer.c +++ b/sys/netinet/tcp_timer.c @@ -160,9 +160,9 @@ int tcp_syn_backoff[TCP_MAXRXTSHIFT + 1] = { 1, 1, 1, 1, 1, 2, 4, 8, 16, 32, 64, 64, 64 }; int tcp_backoff[TCP_MAXRXTSHIFT + 1] = - { 1, 2, 4, 8, 16, 32, 64, 64, 64, 64, 64, 64, 64 }; + { 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 512, 512, 512 }; -static int tcp_totbackoff = 511; /* sum of tcp_backoff[] */ +static int tcp_totbackoff = 2559; /* sum of tcp_backoff[] */ /* * TCP timer processing.