Module Name:    src
Committed By:   pooka
Date:           Tue Jan 26 18:09:08 UTC 2010

Modified Files:
        src/sys/netinet: tcp_input.c tcp_output.c

Log Message:
tcp sockbuf autoscaling was initially added turned off because it
was experimental.  People (including myself) have been running with
it turned on for eons now, so flip the default to enabled.


To generate a diff of this commit:
cvs rdiff -u -r1.299 -r1.300 src/sys/netinet/tcp_input.c
cvs rdiff -u -r1.168 -r1.169 src/sys/netinet/tcp_output.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/netinet/tcp_input.c
diff -u src/sys/netinet/tcp_input.c:1.299 src/sys/netinet/tcp_input.c:1.300
--- src/sys/netinet/tcp_input.c:1.299	Wed Sep  9 22:41:28 2009
+++ src/sys/netinet/tcp_input.c	Tue Jan 26 18:09:07 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: tcp_input.c,v 1.299 2009/09/09 22:41:28 darran Exp $	*/
+/*	$NetBSD: tcp_input.c,v 1.300 2010/01/26 18:09:07 pooka Exp $	*/
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -145,7 +145,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tcp_input.c,v 1.299 2009/09/09 22:41:28 darran Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tcp_input.c,v 1.300 2010/01/26 18:09:07 pooka Exp $");
 
 #include "opt_inet.h"
 #include "opt_ipsec.h"
@@ -239,7 +239,7 @@
 int	tcprexmtthresh = 3;
 int	tcp_log_refused;
 
-int	tcp_do_autorcvbuf = 0;
+int	tcp_do_autorcvbuf = 1;
 int	tcp_autorcvbuf_inc = 16 * 1024;
 int	tcp_autorcvbuf_max = 256 * 1024;
 int	tcp_msl = (TCPTV_MSL / PR_SLOWHZ);

Index: src/sys/netinet/tcp_output.c
diff -u src/sys/netinet/tcp_output.c:1.168 src/sys/netinet/tcp_output.c:1.169
--- src/sys/netinet/tcp_output.c:1.168	Wed Mar 18 16:00:22 2009
+++ src/sys/netinet/tcp_output.c	Tue Jan 26 18:09:08 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: tcp_output.c,v 1.168 2009/03/18 16:00:22 cegger Exp $	*/
+/*	$NetBSD: tcp_output.c,v 1.169 2010/01/26 18:09:08 pooka Exp $	*/
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -135,7 +135,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tcp_output.c,v 1.168 2009/03/18 16:00:22 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tcp_output.c,v 1.169 2010/01/26 18:09:08 pooka Exp $");
 
 #include "opt_inet.h"
 #include "opt_ipsec.h"
@@ -215,7 +215,7 @@
 int	tcp_cwm = 0;
 int	tcp_cwm_burstsize = 4;
 
-int	tcp_do_autosndbuf = 0;
+int	tcp_do_autosndbuf = 1;
 int	tcp_autosndbuf_inc = 8 * 1024;
 int	tcp_autosndbuf_max = 256 * 1024;
 

Reply via email to