summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_subr.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2012-03-10 12:03:30 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2012-03-10 12:03:30 +0000
commit42d255c62aedb127e67556470e3fc3608807f8e5 (patch)
treee09272879c7f60be37e37b556312449341a0f766 /sys/netinet/tcp_subr.c
parentc0b5ce92fb63be3a448ca6388300fe719f268b3a (diff)
Increase TCP's initial window to 10 * MSS or 14600 bytes as proposed in
draft-ietf-tcpm-initcwnd. net.inet.tcp.rfc3390 defaults to 2 now which uses the 10*MSS, setting it back to 1 brings back the old default of 4*MSS. OK sperreault@, henning@, sthen@, markus@
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r--sys/netinet/tcp_subr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index 2f10358d2f2..26726f6d798 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_subr.c,v 1.112 2011/01/11 15:42:05 deraadt Exp $ */
+/* $OpenBSD: tcp_subr.c,v 1.113 2012/03/10 12:03:29 claudio Exp $ */
/* $NetBSD: tcp_subr.c,v 1.22 1996/02/13 23:44:00 christos Exp $ */
/*
@@ -115,7 +115,7 @@ int tcp_ack_on_push = 0; /* set to enable immediate ACK-on-PUSH */
#ifdef TCP_ECN
int tcp_do_ecn = 0; /* RFC3168 ECN enabled/disabled? */
#endif
-int tcp_do_rfc3390 = 1; /* RFC3390 Increasing TCP's Initial Window */
+int tcp_do_rfc3390 = 2; /* Increase TCP's Initial Window to 10*mss */
u_int32_t tcp_now = 1;