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,
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to