Date: Sun, 28 Jun 2026 00:44:17 +0000 From: Alexander Ziaee <ziaee@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Cc: Matteo Riondato <matteo@FreeBSD.org> Subject: git: 1744efc43640 - stable/15 - tcp.fastopen.client_enable: Fix documented default Message-ID: <6a406e61.3f96b.77f3f199@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/15 has been updated by ziaee: URL: https://cgit.FreeBSD.org/src/commit/?id=1744efc43640773c5d04c16a56e1ee6002569c31 commit 1744efc43640773c5d04c16a56e1ee6002569c31 Author: Matteo Riondato <matteo@FreeBSD.org> AuthorDate: 2026-06-17 14:59:01 +0000 Commit: Alexander Ziaee <ziaee@FreeBSD.org> CommitDate: 2026-06-28 00:36:11 +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 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 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 tohome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a406e61.3f96b.77f3f199>
