]> err.no Git - linux-2.6/commit
[TCP] FRTO: Limit snd_cwnd if TCP was application limited
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Wed, 14 Nov 2007 05:01:23 +0000 (21:01 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Nov 2007 05:01:23 +0000 (21:01 -0800)
commit746aa32d280084dbd520249170852e4616799928
tree1e09197fb7ab747dac8287cfca86951e52450c91
parentf0163ac45b40bd032b877c747796146d52d4e800
[TCP] FRTO: Limit snd_cwnd if TCP was application limited

Otherwise TCP might violate packet ordering principles that FRTO
is based on. If conventional recovery path is chosen, this won't
be significant at all. In practice, any small enough value will
be sufficient to provide proper operation for FRTO, yet other
users of snd_cwnd might benefit from a "close enough" value.

FRTO's formula is now equal to what tcp_enter_cwr() uses.

FRTO used to check application limitedness a bit differently but
I changed that in commit 575ee7140dabe9b9c4f66f4f867039b97e548867
and as a result checking for application limitedness became
completely non-existing.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c