summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_timer.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2005-11-15 21:09:44 +0000
committermiod <miod@openbsd.org>2005-11-15 21:09:44 +0000
commitd22fa33de67afe3e385428f758307b710a8c9e3c (patch)
treee5f23411a16e22353ba0a0a8d26cb219306235a8 /sys/netinet/tcp_timer.c
parentFix exp(3) for arg Inf and -Inf. From NetBSD; PR 4578. ok deraadt@ (diff)
downloadwireguard-openbsd-d22fa33de67afe3e385428f758307b710a8c9e3c.tar.xz
wireguard-openbsd-d22fa33de67afe3e385428f758307b710a8c9e3c.zip
Only two `h' in threshold.
Diffstat (limited to 'sys/netinet/tcp_timer.c')
-rw-r--r--sys/netinet/tcp_timer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c
index d8b603617e8..7265e503970 100644
--- a/sys/netinet/tcp_timer.c
+++ b/sys/netinet/tcp_timer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_timer.c,v 1.37 2005/06/30 08:51:31 markus Exp $ */
+/* $OpenBSD: tcp_timer.c,v 1.38 2005/11/15 21:09:46 miod Exp $ */
/* $NetBSD: tcp_timer.c,v 1.14 1996/02/13 23:44:09 christos Exp $ */
/*
@@ -354,12 +354,12 @@ tcp_timer_rexmt(void *arg)
* almost immediately. To get more time between
* drops but still "push" the network to take advantage
* of improving conditions, we switch from exponential
- * to linear window opening at some threshhold size.
- * For a threshhold, we use half the current window
+ * to linear window opening at some threshold size.
+ * For a threshold, we use half the current window
* size, truncated to a multiple of the mss.
*
* (the minimum cwnd that will give us exponential
- * growth is 2 mss. We don't allow the threshhold
+ * growth is 2 mss. We don't allow the threshold
* to go below this.)
*/
{