summaryrefslogtreecommitdiff
path: root/net/ipv4/udp_tunnel.c
diff options
context:
space:
mode:
authorJon Maxwell <jmaxwell37@gmail.com>2018-07-19 04:14:44 +0300
committerDavid S. Miller <davem@davemloft.net>2018-07-21 20:28:55 +0300
commitb701a99e431db784714c32fc6b68123045714679 (patch)
treeb5ec36b84c8ca0ed31442df0c3c8e456709fb570 /net/ipv4/udp_tunnel.c
parenta7fa37703d495310819d0a6747e5b32362305374 (diff)
downloadlinux-b701a99e431db784714c32fc6b68123045714679.tar.xz
tcp: Add tcp_clamp_rto_to_user_timeout() helper to improve accuracy
Create the tcp_clamp_rto_to_user_timeout() helper routine. To calculate the correct rto, so that the TCP_USER_TIMEOUT socket option is more accurate. Taking suggestions and feedback into account from Eric Dumazet, Neal Cardwell and David Laight. Due to the 1st commit we can avoid the msecs_to_jiffies() and jiffies_to_msecs() dance. 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>
Diffstat (limited to 'net/ipv4/udp_tunnel.c')
0 files changed, 0 insertions, 0 deletions