Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Jul 2005 20:58:03 +0200
From:      Christian Vogt <chvogt@tm.uka.de>
To:        freebsd-net@freebsd.org
Cc:        TM-RO2 <tm-ro2@tm.uka.de>
Subject:   tcp_xmit_timer()
Message-ID:  <42C986BB.4020409@tm.uka.de>

next in thread | raw e-mail | index | archive | help
Hi everybody,

just a nit in sys/netinet/tcp_input.c:tcp_xmit_timer().  A comment says:

    /*
     * srtt is stored as fixed point with 5 bits after the
     * binary point (i.e., scaled by 8).  The following magic
     * is equivalent to the smoothing algorithm in rfc793 with
     * an alpha of .875 (srtt = rtt/8 + srtt*7/8 in fixed
     * point).  Adjust rtt to origin 0.
     */

But it should say "...(i.e., scaled by 32)".

Hope this wasn't mentioned before on this list.

Bye,
- Christian

-- 
Christian Vogt, Institute of Telematics, University of Karlsruhe
www.tm.uka.de/~chvogt/pubkey/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42C986BB.4020409>