summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1996-03-25 20:13:21 +0000
committerwollman <wollman@FreeBSD.org>1996-03-25 20:13:21 +0000
commit444648d45934f6f9ab80b53f0874e0101cf54338 (patch)
treed7b1afa53f31ec65d47ec6833607cc7cd56ad94f /sys/netinet/tcp_input.c
parent8e228c5ec3f0a49cb5d3d00c708213ef2f841a92 (diff)
downloadFreeBSD-src-444648d45934f6f9ab80b53f0874e0101cf54338.zip
FreeBSD-src-444648d45934f6f9ab80b53f0874e0101cf54338.tar.gz
Slight modification of RTO floor calculation.
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r--sys/netinet/tcp_input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index 8c6928b..49ffca1 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)tcp_input.c 8.12 (Berkeley) 5/24/95
- * $Id: tcp_input.c,v 1.38 1996/03/11 15:13:29 davidg Exp $
+ * $Id: tcp_input.c,v 1.39 1996/03/22 18:09:20 wollman Exp $
*/
#ifndef TUBA_INCLUDE
@@ -1923,7 +1923,7 @@ tcp_xmit_timer(tp, rtt)
tp->t_rttmin, TCPTV_REXMTMAX);
#else /* Peterson */
TCPT_RANGESET(tp->t_rxtcur, TCP_REXMTVAL(tp),
- max(tp->t_rttmin, TCPTV_MIN + rtt - 1), TCPTV_REXMTMAX);
+ max(tp->t_rttmin, rtt + 2), TCPTV_REXMTMAX);
#endif
/*
OpenPOWER on IntegriCloud