From: Eric Dumazet <hidden> Date: 2018-05-17 20:41:34
On 05/17/2018 10:47 AM, Eric Dumazet wrote:
+ /* compress ack timer : 5 % of srtt, but no more than 1 ms */
+
+ delay = min_t(unsigned long, NSEC_PER_MSEC,
+ tp->rcv_rtt_est.rtt_us * (NSEC_PER_USEC >> 3)/20);
Yuchung suggested that we use min(rtt, rcv_rtt), and I totally agree with him.
I will send a v3 with this suggestion.