aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_output.c
diff options
context:
space:
mode:
authorMike Silbersack <silby@FreeBSD.org>2001-12-14 18:26:52 +0000
committerMike Silbersack <silby@FreeBSD.org>2001-12-14 18:26:52 +0000
commit3260eb18f3a02396a8a34a1d245747f5de74b2ee (patch)
tree9458910530be66ff976d7e17e5491b813e4b85a5 /sys/netinet/tcp_output.c
parente4fc250c15768b8e203496ee908dedb37846ea4f (diff)
downloadsrc-3260eb18f3a02396a8a34a1d245747f5de74b2ee.tar.gz
src-3260eb18f3a02396a8a34a1d245747f5de74b2ee.zip
Reduce the local network slowstart flightsize from infinity to 4 packets.
Now that we've increased the size of our send / receive buffers, bursting an entire window onto the network may cause congestion. As a result, we will slow start beginning with a flightsize of 4 packets. Problem reported by: Thomas Zenker <thz@Lennartz-electronic.de> MFC after: 3 days
Notes
Notes: svn path=/head/; revision=87903
Diffstat (limited to 'sys/netinet/tcp_output.c')
-rw-r--r--sys/netinet/tcp_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c
index 9d3dac15f505..40ed7ee41141 100644
--- a/sys/netinet/tcp_output.c
+++ b/sys/netinet/tcp_output.c
@@ -91,7 +91,7 @@ int ss_fltsz = 1;
SYSCTL_INT(_net_inet_tcp, OID_AUTO, slowstart_flightsize, CTLFLAG_RW,
&ss_fltsz, 1, "Slow start flight size");
-int ss_fltsz_local = TCP_MAXWIN; /* something large */
+int ss_fltsz_local = 4;
SYSCTL_INT(_net_inet_tcp, OID_AUTO, local_slowstart_flightsize, CTLFLAG_RW,
&ss_fltsz_local, 1, "Slow start flight size for local networks");