]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
TCP: Fix and simplify microsecond rtt sampling
authorJohn Heffner <jheffner@psc.edu>
Sat, 6 Jan 2007 21:31:44 +0000 (22:31 +0100)
committerAdrian Bunk <bunk@stusta.de>
Tue, 9 Jan 2007 02:23:33 +0000 (03:23 +0100)
commit45c97a2582a6dc2a41fbb71b14fd4c61402ad926
treec0979afe5619577a0aabca3db87d6dcd6f266321
parentb045ce09ba5d408725868d5d2e36f213c8a6ed02
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
net/ipv4/tcp_input.c