diff options
author | wollman <wollman@FreeBSD.org> | 1996-03-25 20:13:21 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1996-03-25 20:13:21 +0000 |
commit | 444648d45934f6f9ab80b53f0874e0101cf54338 (patch) | |
tree | d7b1afa53f31ec65d47ec6833607cc7cd56ad94f /sys/netinet | |
parent | 8e228c5ec3f0a49cb5d3d00c708213ef2f841a92 (diff) | |
download | FreeBSD-src-444648d45934f6f9ab80b53f0874e0101cf54338.zip FreeBSD-src-444648d45934f6f9ab80b53f0874e0101cf54338.tar.gz |
Slight modification of RTO floor calculation.
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/tcp_input.c | 4 | ||||
-rw-r--r-- | 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 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 /* diff --git a/sys/netinet/tcp_reass.c b/sys/netinet/tcp_reass.c index 8c6928b..49ffca1 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 /* |