• Stephen Hemminger's avatar
    [TCP]: H-TCP maxRTT estimation at startup · f34d1955
    Stephen Hemminger authored
    Small patch to H-TCP from Douglas Leith. 
    
    Fix estimation of maxRTT.  The original code ignores rtt measurements
    during slow start (via the check tp->snd_ssthresh < 0xFFFF) yet this
    is probably a good time to try to estimate max rtt as delayed acking
    is disabled and slow start will only exit on a loss which presumably
    corresponds to a maxrtt measurement.  Second, the original code (via
    the check htcp_ccount(ca) > 3) ignores rtt data during what it
    estimates to be the first 3 round-trip times.  This seems like an
    unnecessary check now that the RCV timestamp are no longer used
    for rtt estimation.
    Signed-off-by: default avatarStephen Hemminger <shemminger@linux-foundation.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    f34d1955
tcp_htcp.c 7.31 KB