From nobody Wed Apr 3 16:27:32 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 4V8qsd05kqz5FM3X; Wed, 3 Apr 2024 16:27:33 +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 4V8qsc6kCdz4qwF; Wed, 3 Apr 2024 16:27:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712161652; 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=uD+TOWjqALxd66/FD5x4ixzR7oAoVxFGZ5G4x3yUKAQ=; b=xXO6ATgA1Qw2uJLNi0n6ePJHTvgUqaq37N08o6lRUb7fZubkZwQHe7gnq8tcxY5mIjKyN1 /yNyprxqz4lVmxEQ4eFIxIazr+1gg662EI9LIeV/5A2AKNg9PcQCOtDBfYj21FGzn+m0ZO s96B8sJIOHibdTJLkVb8NOF14RIEmA+yEJNSHALOPzwklB6YTjaBgrpnf2KJfES+UZJeOY ggc6MT13qg3lsrVi4uuhfroaI2SLLBLmsPH/ZX0MbNQ5lndIY9Vag9QQAh4YTyuRnXY6HF dS3QZwfqy3xdyBlcjcMZVW4uLWTO5mUPtEaGcinV28EukcPHm9IE5aSXFIi96w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712161652; a=rsa-sha256; cv=none; b=ifKA+jn1pC2xSOJt98xZ4aZGQmmAx3wvKyfaqwK0hCP4tqipMA74BlZMinkI6TliCBtawc 98JftKLVs2MbxfCj5CXl7+gGXEum7mkP/mU7RtMEY3X2qvbkkSjXrEWpwtCNhpF6VSu4HU MKuuoxX84x8VPulIdszPyTJMpmsIFQdvk9+IIU2qMUZyIfy+DwnE5LqV6YCsaDltc+7N1C F7hMAAofhrTXszfKNaXJyqaWhuT2sqw/m1Fh3eXMYxjjIXNr2khAe9THWmq7bcU9Leq1Et 9HczqqRhJPDuIVXoR3dl/R+FPhBhjLHJ2aS8s5svZ0J4hwYLs90iV5+KTtai1g== 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=1712161652; 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=uD+TOWjqALxd66/FD5x4ixzR7oAoVxFGZ5G4x3yUKAQ=; b=ihpn/pOm3ojGs33wGAm6kzeiZdZgs4CADBEYtauF6uNdriP0TdZEQMBmzdxolnkYuquc+Z q9dN1Mafpw7nUonrEPWueiQjDyxfBO720m1wFgxtOzHIv+q5+dHpiCy+5mPrL9LiZFPPaU wxpoJnPjG0uFUJyqrmNut0IWHUYuHgAnEkogVV5Im1Dkw7ISN+frfoDm6saN8+i9JjVpTO vNhsYolyaSqZtzA4v8e6jhfQ2CgNukT5tTVpFNLut98MLO4RVHY2g5cUBFjfA1C5925d75 aZcI4idHXkf5V/f3UwxWzAziHGhJorKkprWwNN4YonKKvEM272mBqqUUA20ilA== 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 4V8qsc6KB5zgWY; Wed, 3 Apr 2024 16:27:32 +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 433GRWEx013934; Wed, 3 Apr 2024 16:27:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 433GRWXC013931; Wed, 3 Apr 2024 16:27:32 GMT (envelope-from git) Date: Wed, 3 Apr 2024 16:27:32 GMT Message-Id: <202404031627.433GRWXC013931@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Michael Tuexen Subject: git: 5a268d868890 - main - 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: 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/main X-Git-Reftype: branch X-Git-Commit: 5a268d868890dbbfe96361906be20d01cc252b2f Auto-Submitted: auto-generated The branch main has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=5a268d868890dbbfe96361906be20d01cc252b2f commit 5a268d868890dbbfe96361906be20d01cc252b2f Author: Michael Tuexen AuthorDate: 2024-04-03 16:21:19 +0000 Commit: Michael Tuexen CommitDate: 2024-04-03 16:26:04 +0000 tcp: fix comment Make the comment consistent with the code. Reviewed by: rscheff MFC after: 1 week Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D44611 --- 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 e49d682896c0..7542d680daa0 100644 --- a/sys/netinet/tcp_var.h +++ b/sys/netinet/tcp_var.h @@ -902,10 +902,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 */ /*