]> git.baikalelectronics.ru Git - kernel.git/commit
[TCP]: Fix and simplify microsecond rtt sampling
authorJohn Heffner <jheffner@psc.edu>
Thu, 28 Sep 2006 21:47:38 +0000 (14:47 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 29 Sep 2006 01:03:08 +0000 (18:03 -0700)
commit27d4afde1a5a920558e523e25c51b149f9b99174
tree97e76b5aa8a8cd795dc65768fe5c75a4135a5ec1
parent3a02095b903631cb71868dcab7b3d56c49b74e83
[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>
net/ipv4/tcp_input.c