Skip to content
  • Ilpo Järvinen's avatar
    [TCP]: Add two new spurious RTO responses to FRTO · 3cfe3baa
    Ilpo Järvinen authored
    
    
    New sysctl tcp_frto_response is added to select amongst these
    responses:
    	- Rate halving based; reuses CA_CWR state (default)
    	- Very conservative; used to be the only one available (=1)
    	- Undo cwr; undoes ssthresh and cwnd reductions (=2)
    
    The response with rate halving requires a new parameter to
    tcp_enter_cwr because FRTO has already reduced ssthresh and
    doing a second reduction there has to be prevented. In addition,
    to keep things nice on 80 cols screen, a local variable was
    added.
    
    Signed-off-by: default avatarIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    3cfe3baa