From nobody Wed Jun 17 17:15:35 2026 X-Original-To: dev-commits-src-main@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 4ggVqW6Hb0z6hC4Y for ; Wed, 17 Jun 2026 17:15:35 +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 "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ggVqW3KzLz3ZXR for ; Wed, 17 Jun 2026 17:15:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1781716535; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qUuVc8lALASfqNzosBMNQw61ZCVL2INrbcUY5sQjIRg=; b=FdfQLVVEK5dQVi35ArJ/1e7PnF4mVsGVENT0L01STTMvrFV8WxXAF06Q73Zh1lAmVPSVNG 37he79tMCj0vSU9MdFVs4rvNuvuVdNoUMJL8cWk1ENYAZvxoWtPf+GiH+qmokPC3szslyw HTNkSO6QqGYsK4yDMlchRUc7VNWza9k9rxXe9WCNHbWSyshYZeLi0eWNK6Jg+XL9viRSt5 NSROBWxUWpFEeqbjjnrjkHT6Fprkjsd7p8YFuBYy29C0g2gIWTcVuEMNuJksqrH86xbndt yYXXeccrQIgBrFgSymjYc8IMtHN4N01EFalU9ilznIIFc0sAClUqCqT0qGv8sg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1781716535; a=rsa-sha256; cv=none; b=Q9XCVuHQ8Ub005lPi7yrcUh0u09FgyjTff88ryyTTwR2ay3MAfw4QqmlFZ03B/p2zUvCmq FABNTt8RNAt93DSGwYHmOnEAZdQshOLU2kA6wn1V1M/a6uqnYUFWPJTVIbQhXVk19RfQtT 11E4Hf40SyozjqFZgzqY9O+ToJFYvMSEoyBWpxQI35i/ai7FTVGyjDDo1ruoQ+0g0m1OZ8 TS+BIpGv7azrGIjT4nAGPdd23B27WyJGyxc868yWhSR5f7hROyZEA7FjZFy94WN0XPJPcq SvjfN1zshuZFRKH+ioZ1XxCejDblkpaNOIBB02rGPGVuitEk+e5oWKuH1oMTIw== 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=1781716535; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qUuVc8lALASfqNzosBMNQw61ZCVL2INrbcUY5sQjIRg=; b=MkWvXL426FdAtWpPoJxu1TdyxASM0mUDFzLXJnm+tB+F5lT0bMqjvoDTizRhAhAMdsN7kG 84LzPAiJf+2EiBumGtz63EuUoYYd9VrNDOVuoq3dcp85yoa6N8/cP0PyxAHQhdPhlp9hUp TIkWasJvw3mf6yiRUbcJkI8fr8YocdoxXowvBL3QKBZi3lCCDTzEBT6RkNi5OgzyzY2ZB/ eLoUy6t3Kf7T5rEBpUdjQS3PHm88tBg4uZFOQLvCxToge3Fa+0PyHi/ITYIsmoKs4aN+Ho bkw0EF5DeDO3MDA11TD3yBZRHwZzRFMm/MVts62OapMGhQyDAS+sPCl0XaJxsA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4ggVqW2vbGz5hd for ; Wed, 17 Jun 2026 17:15:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 1cd31 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Wed, 17 Jun 2026 17:15:35 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Cc: Matteo Riondato From: Alexander Ziaee Subject: git: 0bc852cc62af - main - tcp.fastopen.client_enable: Fix documented default List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ziaee X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0bc852cc62afcd79fc776f784623c3f2b7691d27 Auto-Submitted: auto-generated Date: Wed, 17 Jun 2026 17:15:35 +0000 Message-Id: <6a32d637.1cd31.6ae43664@gitrepo.freebsd.org> The branch main has been updated by ziaee: URL: https://cgit.FreeBSD.org/src/commit/?id=0bc852cc62afcd79fc776f784623c3f2b7691d27 commit 0bc852cc62afcd79fc776f784623c3f2b7691d27 Author: Matteo Riondato AuthorDate: 2026-06-17 14:59:01 +0000 Commit: Alexander Ziaee CommitDate: 2026-06-17 17:12:52 +0000 tcp.fastopen.client_enable: Fix documented default The default value has been 1 since June 2018, but the docs were not updated to reflect the change. MFC after: 3 days Reviewed by: ziaee Fixes: af4da5865557 (Enable TCP_FASTOPEN by default) Signed-off-by: Matteo Riondato Closes: https://github.com/freebsd/freebsd-src/pull/2285 --- share/man/man4/tcp.4 | 4 ++-- sys/netinet/tcp_fastopen.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/share/man/man4/tcp.4 b/share/man/man4/tcp.4 index 8bc1eb858a07..425c1a6e5e89 100644 --- a/share/man/man4/tcp.4 +++ b/share/man/man4/tcp.4 @@ -31,7 +31,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd May 17, 2026 +.Dd June 17, 2026 .Dt TCP 4 .Os .Sh NAME @@ -589,7 +589,7 @@ On the transition from enabled to disabled, the client cookie cache is cleared and disabled. The transition from enabled to disabled does not affect any active TFO connections in progress; it only prevents new ones from being established. -The default is 0. +The default is 1. .It Va fastopen.keylen The key length in bytes. Read-only. diff --git a/sys/netinet/tcp_fastopen.c b/sys/netinet/tcp_fastopen.c index fb1386c03d22..4557a2c08cd2 100644 --- a/sys/netinet/tcp_fastopen.c +++ b/sys/netinet/tcp_fastopen.c @@ -84,7 +84,7 @@ * net.inet.tcp.fastopen.ccache_list (RO) * Print the client cookie cache. * - * net.inet.tcp.fastopen.client_enable (RW, default 0) + * net.inet.tcp.fastopen.client_enable (RW, default 1) * When zero, no new active (i.e., client) TFO connections can be * created. On the transition from enabled to disabled, the client * cookie cache is cleared and disabled. The transition from enabled to