aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_syncache.c
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2019-01-24 16:47:18 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2019-01-24 16:47:18 +0000
commit989321df1180f46d0b89abe26b099a7546b4f2c3 (patch)
tree88544cc8c759aea5718ab448a28bafb54e537053 /sys/netinet/tcp_syncache.c
parent42395cbe3176ab72c4e9203b4c6a42ac2fa500b5 (diff)
downloadsrc-989321df1180f46d0b89abe26b099a7546b4f2c3.tar.gz
src-989321df1180f46d0b89abe26b099a7546b4f2c3.zip
Get the arithmetic right...
MFC after: 3 days Sponsored by: Netflix, Inc.
Notes
Notes: svn path=/head/; revision=343403
Diffstat (limited to 'sys/netinet/tcp_syncache.c')
-rw-r--r--sys/netinet/tcp_syncache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c
index 46b09c680d1a..778dda13f279 100644
--- a/sys/netinet/tcp_syncache.c
+++ b/sys/netinet/tcp_syncache.c
@@ -159,7 +159,7 @@ static int syncookie_cmp(struct in_conninfo *inc, struct syncache_head *sch,
* tcp_syn_backoff[1] +
* tcp_syn_backoff[2] +
* tcp_syn_backoff[3]) + 3 * tcp_rexmit_slop,
- * 3000 ms * (1 + 1 + 1 + 1) + 3 * 200 ms = 12300 ms,
+ * 3000 ms * (1 + 1 + 1 + 1) + 3 * 200 ms = 12600 ms,
* the odds are that the user has given up attempting to connect by then.
*/
#define SYNCACHE_MAXREXMTS 3