]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: convert icsk_user_timeout from jiffies to msecs
authorJon Maxwell <jmaxwell37@gmail.com>
Thu, 19 Jul 2018 01:14:42 +0000 (11:14 +1000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Jul 2018 17:28:55 +0000 (10:28 -0700)
commitead483b5fc1d00d4a172c133bdde8953f33a34de
tree29fd844864943e9c6bc8c6f8068b70a66f766ea9
parentb6873a0455148c85de1aa259e44533790c0b9b7b
tcp: convert icsk_user_timeout from jiffies to msecs

This is a preparatory commit. Part of this series that improves the
socket TCP_USER_TIMEOUT option accuracy. Implement Eric Dumazets idea
to convert icsk->icsk_user_timeout from jiffies to msecs. To eliminate
the msecs_to_jiffies() and jiffies_to_msecs() dance in future.

Signed-off-by: Jon Maxwell <jmaxwell37@gmail.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp.c
net/ipv4/tcp_timer.c