Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jun 2018 21:46:29 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r335610 - head/sys/netinet
Message-ID:  <201806242146.w5OLkTJs005398@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sbruno
Date: Sun Jun 24 21:46:29 2018
New Revision: 335610
URL: https://svnweb.freebsd.org/changeset/base/335610

Log:
  Enable TCP_FASTOPEN by default for FreeBSD 12.
  
  Submitted by:	kbowling
  Reviewed by:	tuexen
  Differential Revision:	https://reviews.freebsd.org/D15959

Modified:
  head/sys/netinet/tcp_fastopen.c

Modified: head/sys/netinet/tcp_fastopen.c
==============================================================================
--- head/sys/netinet/tcp_fastopen.c	Sun Jun 24 21:36:37 2018	(r335609)
+++ head/sys/netinet/tcp_fastopen.c	Sun Jun 24 21:46:29 2018	(r335610)
@@ -278,7 +278,7 @@ SYSCTL_UINT(_net_inet_tcp_fastopen, OID_AUTO, ccache_b
     CTLFLAG_VNET | CTLFLAG_RDTUN, &VNET_NAME(tcp_fastopen_ccache_buckets), 0,
     "Client cookie cache number of buckets (power of 2)");
 
-VNET_DEFINE(unsigned int, tcp_fastopen_client_enable) = 0;
+VNET_DEFINE(unsigned int, tcp_fastopen_client_enable) = 1;
 static int sysctl_net_inet_tcp_fastopen_client_enable(SYSCTL_HANDLER_ARGS);
 SYSCTL_PROC(_net_inet_tcp_fastopen, OID_AUTO, client_enable,
     CTLFLAG_VNET | CTLTYPE_UINT | CTLFLAG_RW, NULL, 0,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806242146.w5OLkTJs005398>