From nobody Wed Apr 17 13:52:56 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VKMmm4yDkz5Gwph; Wed, 17 Apr 2024 13:52:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VKMmm4S3Xz4qXx; Wed, 17 Apr 2024 13:52:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713361976; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=u4YIGIj/66sd4dC8Ed9Q4XlRuCU4LOciTfBSj3b/Rtg=; b=dXe9S2+6bxno8D9odfXgFHfzJxZBXSqvzRweJK2kgiZGMJjUzpxBK5POmdD/XD7f/X4RPg jIbg7xR66dPiydO1YNDSDSpkFleHk6g9u8+x14MWILTBfs6IT8O2ZPc+Ca8Ff4BpoyCRUT /SdtTPd98guXbh5eyr6R6zdwuEHghec3BICVe9OZXBy+9eMEHk6NYp3lpPQpMeNZnZPBro oW0KUfBUcCnPImCo6GuafbdWmXGDtxS3twUYLm50cQGpf5uBkzNTyUsv7sTJknWNz21NB8 4rcZ5rthlKQlhnhGl5/w3do5EdQOEd37jceeR60XuUwgHzvVaWkTI2BY6GLNUg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713361976; a=rsa-sha256; cv=none; b=tlHguT9XFwEO7kTIajimidEcYYKLOHboDRslP0u9rTx0plYRyR7nrkB8mL9GI8puHnASZH Q+XKXNqOLUgTH+1NJPC0300IBC28TQXVRci6C+eIAUj6ns16kyjHUPJ185IoVARWD8Gk/o cG1gO5rMrZCgldZKqVbZUZrFQ83sXaeF54mU3oJGVIQ0Qj+uKbRBv9cwIkIK14bFf9Xkbp eSCFs1nJ8EzFzNVO3iXZ53/vYeCLD3aNCS705LtdmACmis/8TApHHbqXtURfgpKM8uV9Kl W0ObFKGx3Y2N7gFe8oYRP+Kqsb11fJ/jt98rooY2UDhhLUQNrIsKdJVWLvEayw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713361976; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=u4YIGIj/66sd4dC8Ed9Q4XlRuCU4LOciTfBSj3b/Rtg=; b=wXiBX+reI7wnJegFH7vh/MWx2Ya+dQ6Nnaf7jlqy8MzRb3fm4E8Tc+xuLy3MnJaWP/NNPp JN1nKrtdcYDzJ2sMBw82VFH7EzGjksIu1//M4lms2NxCOXdqk7LNgDRC3w4PrxPyh9uZ1/ cH1kWprl+liP70+kbXOt0fJRxMoCDSyDxjRKHxWmtw52pGEfmpBmYg71SoPWJaiQx+4GTs a/ExPFdGZWO9MOu9MoE/aIYQKtbqlXjnXNHZFCEQUqWJ/rK8Ntg1Hz0td7U0TjO3lDPNol N1mdcp78p2zR5fxnUix08pHw0RKLYYhx+G8ywPlmNF6Do8K1Htis1W0X/4XPvA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VKMmm4027zTrL; Wed, 17 Apr 2024 13:52:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 43HDqufG036683; Wed, 17 Apr 2024 13:52:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43HDquB6036680; Wed, 17 Apr 2024 13:52:56 GMT (envelope-from git) Date: Wed, 17 Apr 2024 13:52:56 GMT Message-Id: <202404171352.43HDquB6036680@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Michael Tuexen Subject: git: be30b22fbb77 - stable/14 - tcp: fix comment List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tuexen X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: be30b22fbb77b74c2be8de28266630d979fc61c3 Auto-Submitted: auto-generated The branch stable/14 has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=be30b22fbb77b74c2be8de28266630d979fc61c3 commit be30b22fbb77b74c2be8de28266630d979fc61c3 Author: Michael Tuexen AuthorDate: 2024-04-03 16:21:19 +0000 Commit: Michael Tuexen CommitDate: 2024-04-17 13:52:18 +0000 tcp: fix comment Make the comment consistent with the code. Reviewed by: rscheff Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D44611 (cherry picked from commit 5a268d868890dbbfe96361906be20d01cc252b2f) --- sys/netinet/tcp_var.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h index 8e2a17204ae3..b541e3c955d9 100644 --- a/sys/netinet/tcp_var.h +++ b/sys/netinet/tcp_var.h @@ -925,10 +925,10 @@ struct in_conninfo; * and thus an "ALPHA" of 0.875. rttvar has 2 bits to the right of the * binary point, and is smoothed with an ALPHA of 0.75. */ -#define TCP_RTT_SCALE 32 /* multiplier for srtt; 3 bits frac. */ -#define TCP_RTT_SHIFT 5 /* shift for srtt; 3 bits frac. */ -#define TCP_RTTVAR_SCALE 16 /* multiplier for rttvar; 2 bits */ -#define TCP_RTTVAR_SHIFT 4 /* shift for rttvar; 2 bits */ +#define TCP_RTT_SCALE 32 /* multiplier for srtt; 5 bits frac. */ +#define TCP_RTT_SHIFT 5 /* shift for srtt; 5 bits frac. */ +#define TCP_RTTVAR_SCALE 16 /* multiplier for rttvar; 4 bits */ +#define TCP_RTTVAR_SHIFT 4 /* shift for rttvar; 4 bits */ #define TCP_DELTA_SHIFT 2 /* see tcp_input.c */ /*