summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_timer.c
diff options
context:
space:
mode:
authorhsu <hsu@FreeBSD.org>2003-06-04 10:03:55 +0000
committerhsu <hsu@FreeBSD.org>2003-06-04 10:03:55 +0000
commit2f32ae6c9b685bd5c078db373fe39a5446414002 (patch)
treeeda8d469c6d2588476d97af772db506f25a78659 /sys/netinet/tcp_timer.c
parentfd4b814ebf434da4fa08bf5ad03ac34e26835bd9 (diff)
downloadFreeBSD-src-2f32ae6c9b685bd5c078db373fe39a5446414002.zip
FreeBSD-src-2f32ae6c9b685bd5c078db373fe39a5446414002.tar.gz
Compensate for decreasing the minimum retransmit timeout.
Reviewed by: jlemon
Diffstat (limited to 'sys/netinet/tcp_timer.c')
-rw-r--r--sys/netinet/tcp_timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c
index 98a3546..4dfdba4 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.
OpenPOWER on IntegriCloud