tcp_cubic: enable high resolution ack time if needed
authorstephen hemminger <shemminger@vyatta.com>
Mon, 14 Mar 2011 07:52:16 +0000 (07:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Mar 2011 22:54:40 +0000 (15:54 -0700)
commit3b585b34493ec9db382d6c325d4ed77b9eb2d2a5
treee3208425d46953bb587b2db6dfb521064f127aed
parent17a6e9f1aa9ba07ca13a1eaf1e631e743af50cca
tcp_cubic: enable high resolution ack time if needed

This is a refined version of an earlier patch by Lucas Nussbaum.
Cubic needs RTT values in milliseconds. If HZ < 1000 then
the values will be too coarse.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Reported-by: Lucas Nussbaum <lucas.nussbaum@loria.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_cubic.c