]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: add cwnd_undo functions to various tcp cc algorithms
authorFlorian Westphal <fw@strlen.de>
Mon, 21 Nov 2016 13:18:37 +0000 (14:18 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Nov 2016 18:20:17 +0000 (13:20 -0500)
commitff3693e29498ad3a4878a93a820cd0d830e5eb7f
tree46cb7e0ff05b6e059d2060fbf3ad28bbc11ddc1e
parent95e4799079054ccf69b5acdcd9dcbc15ab9df324
tcp: add cwnd_undo functions to various tcp cc algorithms

congestion control algorithms that do not halve cwnd in their .ssthresh
should provide a .cwnd_undo rather than rely on current fallback which
assumes reno halving (and thus doubles the cwnd).

All of these do 'something else' in their .ssthresh implementation, thus
store the cwnd on loss and provide .undo_cwnd to restore it again.

A followup patch will remove the fallback and all algorithms will
need to provide a .cwnd_undo function.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_highspeed.c
net/ipv4/tcp_illinois.c
net/ipv4/tcp_scalable.c
net/ipv4/tcp_veno.c
net/ipv4/tcp_yeah.c