]> git.karo-electronics.de Git - linux-beck.git/commit
tcp_cubic: fix clock dependency
authorstephen hemminger <shemminger@vyatta.com>
Mon, 14 Mar 2011 07:52:15 +0000 (07:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Mar 2011 22:54:39 +0000 (15:54 -0700)
commit17a6e9f1aa9ba07ca13a1eaf1e631e743af50cca
tree131ea88cfe5d80c162de866ee4156178f70156b1
parentaac46324e12a2bf2e9e0855ad6a287945e34ad39
tcp_cubic: fix clock dependency

The hystart code was written with assumption that HZ=1000.
Replace the use of jiffies with bictcp_clock as a millisecond
real time clock.

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