]> git.baikalelectronics.ru Git - kernel.git/commit
[TCP]: Add two new spurious RTO responses to FRTO
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Tue, 27 Feb 2007 18:09:49 +0000 (10:09 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:23:23 +0000 (22:23 -0700)
commit0022ef29496287656a4adf2fb6269e0e03ceaffd
tree989b2aff491b5df3aa0215f611a8c7f1360c67e9
parentb53e047f982826e9fbb397b93f069e41856ae3c5
[TCP]: Add two new spurious RTO responses to FRTO

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: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/sysctl.h
include/net/tcp.h
net/ipv4/sysctl_net_ipv4.c
net/ipv4/tcp_input.c
net/ipv4/tcp_output.c