Re: [PATCH V4 net-next 3/3] tcp: Add tcp_clamp_rto_to_user_timeout() helper to improve accuracy

From: Eric Dumazet
Date: Thu Jul 19 2018 - 10:16:00 EST




On 07/18/2018 06:14 PM, Jon Maxwell wrote:
> 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@xxxxxxxxx>


Signed-off-by: Eric Dumazet <edumazet@xxxxxxxxxx>

Thanks !