Re: [PATCH net] dctcp: avoid bogus doubling of cwnd after loss

2016-10-31 Thread David Miller
From: Florian Westphal Date: Fri, 28 Oct 2016 18:43:11 +0200 > If a congestion control module doesn't provide .undo_cwnd function, > tcp_undo_cwnd_reduction() will set cwnd to > >tp->snd_cwnd = max(tp->snd_cwnd, tp->snd_ssthresh << 1); > > ... which makes sense for reno (it

[PATCH net] dctcp: avoid bogus doubling of cwnd after loss

2016-10-28 Thread Florian Westphal
If a congestion control module doesn't provide .undo_cwnd function, tcp_undo_cwnd_reduction() will set cwnd to tp->snd_cwnd = max(tp->snd_cwnd, tp->snd_ssthresh << 1); ... which makes sense for reno (it sets ssthresh to half the current cwnd), but it makes no sense for dctcp, which sets