]> git.baikalelectronics.ru Git - kernel.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)
commit3d6503dec9563709af72e0eaf2e34408f3e2dcd5
tree131ea88cfe5d80c162de866ee4156178f70156b1
parent39c67e62749bfebec27d8e0b8db3d687e659799f
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