git: 0312eb44fb32 - stable/14 - tcp.fastopen.client_enable: Fix documented default
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 06 Aug 2026 22:32:09 UTC
The branch stable/14 has been updated by ziaee:
URL: https://cgit.FreeBSD.org/src/commit/?id=0312eb44fb32b42f1f73b7275ab4bca49ca22af7
commit 0312eb44fb32b42f1f73b7275ab4bca49ca22af7
Author: Matteo Riondato <matteo@FreeBSD.org>
AuthorDate: 2026-06-17 14:59:01 +0000
Commit: Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2026-08-06 22:30:15 +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 <matteo@FreeBSD.org>
Closes: https://github.com/freebsd/freebsd-src/pull/2285
(cherry picked from commit 0bc852cc62afcd79fc776f784623c3f2b7691d27)
---
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 edb969be5270..3fb667eca2ce 100644
--- a/share/man/man4/tcp.4
+++ b/share/man/man4/tcp.4
@@ -33,7 +33,7 @@
.\"
.\" From: @(#)tcp.4 8.1 (Berkeley) 6/5/93
.\"
-.Dd June 26, 2025
+.Dd June 17, 2026
.Dt TCP 4
.Os
.Sh NAME
@@ -598,7 +598,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 609637b83df3..106fee90b2cd 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