summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_reass.c
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1995-06-29 18:11:24 +0000
committerwollman <wollman@FreeBSD.org>1995-06-29 18:11:24 +0000
commit35b757bd6742f7b47d1a0f913ea15d208373514c (patch)
tree070aa5808697e7e5b23c851dd3aac1ec37158096 /sys/netinet/tcp_reass.c
parent3c540f9912d5ce64c17b9508a401d08a384ee845 (diff)
downloadFreeBSD-src-35b757bd6742f7b47d1a0f913ea15d208373514c.zip
FreeBSD-src-35b757bd6742f7b47d1a0f913ea15d208373514c.tar.gz
Keep track of the number of samples through the srtt filter so that we
know better when to cache values in the route, rather than relying on a heuristic involving sequence numbers that broke when tcp_sendspace was increased to 16k.
Diffstat (limited to 'sys/netinet/tcp_reass.c')
-rw-r--r--sys/netinet/tcp_reass.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/tcp_reass.c b/sys/netinet/tcp_reass.c
index bf0fd0c..eb459c2 100644
--- a/sys/netinet/tcp_reass.c
+++ b/sys/netinet/tcp_reass.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* From: @(#)tcp_input.c 8.5 (Berkeley) 4/10/94
- * $Id: tcp_input.c,v 1.24 1995/05/11 01:41:06 davidg Exp $
+ * $Id: tcp_input.c,v 1.25 1995/05/30 08:09:55 rgrimes Exp $
*/
#ifndef TUBA_INCLUDE
@@ -1814,6 +1814,7 @@ tcp_xmit_timer(tp, rtt)
register short delta;
tcpstat.tcps_rttupdated++;
+ tp->t_rttupdated++;
if (tp->t_srtt != 0) {
/*
* srtt is stored as fixed point with 3 bits after the
OpenPOWER on IntegriCloud