From 9e2874b0678a7affc381cecb913d7ddd3e65781b Mon Sep 17 00:00:00 2001 From: Garrett Wollman Date: Mon, 25 Mar 1996 20:13:21 +0000 Subject: [PATCH] Slight modification of RTO floor calculation. --- sys/netinet/tcp_input.c | 4 ++-- sys/netinet/tcp_reass.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index 8c6928bf1d50..49ffca1f48b2 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 /* diff --git a/sys/netinet/tcp_reass.c b/sys/netinet/tcp_reass.c index 8c6928bf1d50..49ffca1f48b2 100644 --- a/sys/netinet/tcp_reass.c +++ b/sys/netinet/tcp_reass.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 /*