]> 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)
commit12e2efedf505087ea2746d32c953fffe061507d0
tree46cb7e0ff05b6e059d2060fbf3ad28bbc11ddc1e
parent33de446359f99fd45b41e09cc594c7fb2dd63184
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