Re: [PATCH net] tcp: when rearming RTO, if RTO time is in past then fire RTO ASAP

2017-08-18 Thread David Miller
From: Neal Cardwell Date: Wed, 16 Aug 2017 17:53:36 -0400 > In some situations tcp_send_loss_probe() can realize that it's unable > to send a loss probe (TLP), and falls back to calling tcp_rearm_rto() > to schedule an RTO timer. In such cases, sometimes tcp_rearm_rto() > realizes that the RTO wa

Re: [PATCH net] tcp: when rearming RTO, if RTO time is in past then fire RTO ASAP

2017-08-17 Thread Neal Cardwell
On Wed, Aug 16, 2017 at 5:53 PM, Neal Cardwell wrote: > In some situations tcp_send_loss_probe() can realize that it's unable > to send a loss probe (TLP), and falls back to calling tcp_rearm_rto() > to schedule an RTO timer. In such cases, sometimes tcp_rearm_rto() > realizes that the RTO was eli

[PATCH net] tcp: when rearming RTO, if RTO time is in past then fire RTO ASAP

2017-08-16 Thread Neal Cardwell
In some situations tcp_send_loss_probe() can realize that it's unable to send a loss probe (TLP), and falls back to calling tcp_rearm_rto() to schedule an RTO timer. In such cases, sometimes tcp_rearm_rto() realizes that the RTO was eligible to fire immediately or at some point in the past (delta_u