Date: Thu, 24 Jan 2019 16:47:19 +0000 (UTC) From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r343403 - head/sys/netinet Message-ID: <201901241647.x0OGlJUY030789@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tuexen Date: Thu Jan 24 16:47:18 2019 New Revision: 343403 URL: https://svnweb.freebsd.org/changeset/base/343403 Log: Get the arithmetic right... MFC after: 3 days Sponsored by: Netflix, Inc. Modified: head/sys/netinet/tcp_syncache.c Modified: head/sys/netinet/tcp_syncache.c ============================================================================== --- head/sys/netinet/tcp_syncache.c Thu Jan 24 16:43:13 2019 (r343402) +++ head/sys/netinet/tcp_syncache.c Thu Jan 24 16:47:18 2019 (r343403) @@ -159,7 +159,7 @@ static int syncookie_cmp(struct in_conninfo *inc, str * 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901241647.x0OGlJUY030789>