]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
TCP: Fix and simplify microsecond rtt sampling
authorDavid Miller <davem@davemloft.net>
Thu, 28 Sep 2006 21:50:30 +0000 (14:50 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 13 Oct 2006 20:23:27 +0000 (13:23 -0700)
commit76232eb21c90f18153a66e69f612b47468b145a1
treec36fc39f58a3f120841433928adf4fc65a63b796
parentb9dca3d3ad4a97f60b7364a69d6be97843ba653d
TCP: Fix and simplify microsecond rtt sampling

This changes the microsecond RTT sampling so that samples are taken in
the same way that RTT samples are taken for the RTO calculator: on the
last segment acknowledged, and only when the segment hasn't been
retransmitted.

Signed-off-by: John Heffner <jheffner@psc.edu>
Acked-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipv4/tcp_input.c