]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'tcp-cong-undo_cwnd-mandatory'
authorDavid S. Miller <davem@davemloft.net>
Mon, 21 Nov 2016 18:20:17 +0000 (13:20 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Nov 2016 18:20:17 +0000 (13:20 -0500)
commit1e6874b8d1d77970f0fa13ab918c9301d6dde489
tree870e5c09c37890d286872c9ae22382d6bf336b37
parent95e4799079054ccf69b5acdcd9dcbc15ab9df324
parent9e597c01ba632f86f4445b15bdaa16db4a41c56d
Merge branch 'tcp-cong-undo_cwnd-mandatory'

Florian Westphal says:

====================
tcp: make undo_cwnd mandatory for congestion modules

highspeed, illinois, scalable, veno and yeah congestion control algorithms
don't provide a 'cwnd_undo' function.  This makes the stack default to a
'reno undo' which doubles cwnd.  However, the ssthresh implementation of
these algorithms do not halve the slowstart threshold. This causes similar
issue as the one fixed for dctcp in dd468b8eced6b ("dctcp: avoid bogus
doubling of cwnd after loss").

In light of this it seems better to remove the fallback and make undo_cwnd
mandatory.

First patch fixes those spots where reno undo seems incorrect by providing
.cwnd_undo functions, second patch removes the fallback.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>