summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2004-01-07 20:48:11 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2004-01-07 20:48:11 +0000
commit4a2269bfda430208eee8051e2ebb9b8d916ad4e2 (patch)
tree1a1a718e732269e7c5b73e4d60d009a565d5b681
parenteeee9a1d3c9f98a31ebe3555d9c7c6efff9a762d (diff)
crank mss limit from 64 to 256; ok itojun@, dhartmei@
-rw-r--r--sys/netinet/tcp_input.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index 17b189cb44c..07717cc8fed 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_input.c,v 1.139 2004/01/07 09:08:54 itojun Exp $ */
+/* $OpenBSD: tcp_input.c,v 1.140 2004/01/07 20:48:10 markus Exp $ */
/* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */
/*
@@ -2888,13 +2888,13 @@ tcp_mss(tp, offer)
* If we compute a larger value, return it for use in sending
* a max seg size option, but don't store it for use
* unless we received an offer at least that large from peer.
- * However, do not accept offers under 64 bytes.
+ * However, do not accept offers under 256 bytes.
*/
if (offer > 0)
tp->t_peermss = offer;
if (tp->t_peermss)
mss = min(mss, tp->t_peermss);
- mss = max(mss, 64); /* sanity - at least max opt. space */
+ mss = max(mss, 256); /* sanity - at least max opt. space */
/*
* maxopd stores the maximum length of data AND options