]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: convert cached rtt from usec to jiffies when feeding initial rto
authorKonstantin Khlebnikov <khlebnikov@yandex-team.ru>
Sun, 21 Feb 2016 07:12:39 +0000 (10:12 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Feb 2016 23:28:46 +0000 (18:28 -0500)
commitcb7eb148e93b62a2f077b4131c1c01d53a8ab654
tree84cfe9e9a212f8ecfca93453561800acf3b8a9ac
parent96d7caec83e70c3f3866fbf2a8706b0e40b15b2f
tcp: convert cached rtt from usec to jiffies when feeding initial rto

Currently it's converted into msecs, thus HZ=1000 intact.

Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Fixes: db181f9a0759 ("tcp: switch rtt estimations to usec resolution")
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_metrics.c