diff options
author | jmg <jmg@FreeBSD.org> | 2006-09-26 01:21:46 +0000 |
---|---|---|
committer | jmg <jmg@FreeBSD.org> | 2006-09-26 01:21:46 +0000 |
commit | 9a6d92f6dff52572044aa5b135484bdfbc6556ba (patch) | |
tree | 21ab46c9362a2fc4db06a7ff35069caa3136414b /sys/netinet/tcp_reass.c | |
parent | a0d200f631291252561f016e34c47c970542ad7a (diff) | |
download | FreeBSD-src-9a6d92f6dff52572044aa5b135484bdfbc6556ba.zip FreeBSD-src-9a6d92f6dff52572044aa5b135484bdfbc6556ba.tar.gz |
fix calculating to_tsecr... This prevents the rtt calculations from
going all wonky...
Diffstat (limited to 'sys/netinet/tcp_reass.c')
-rw-r--r-- | sys/netinet/tcp_reass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_reass.c b/sys/netinet/tcp_reass.c index e01a6f0..9508abc 100644 --- a/sys/netinet/tcp_reass.c +++ b/sys/netinet/tcp_reass.c @@ -1115,7 +1115,7 @@ after_listen: * was established. */ if ((to.to_flags & TOF_TS) && (to.to_tsecr != 0)) { - to.to_tsecr =- tp->ts_offset; + to.to_tsecr -= tp->ts_offset; if (TSTMP_GT(to.to_tsecr, ticks)) to.to_tsecr = 0; } |