Home
last modified time | relevance | path

Searched hist:b701a99e431db784714c32fc6b68123045714679 (Results 1 – 1 of 1) sorted by relevance

/linux/net/ipv4/
H A Dtcp_timer.cdiff b701a99e431db784714c32fc6b68123045714679 Thu Jul 19 03:14:44 CEST 2018 Jon Maxwell <jmaxwell37@gmail.com> 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>