]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit8ea333eb5da3e3219f570220c56bca09f6f4d25a
tree97e76b5aa8a8cd795dc65768fe5c75a4135a5ec1
parentbfbea8a8869a0e21b97605841d04190d63665d19
[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