Re: [PATCH net] tcp: avoid setting cwnd to invalid ssthresh after cwnd reduction states

2017-08-03 Thread David Miller
From: Yuchung Cheng Date: Wed, 2 Aug 2017 10:58:54 -0700 > On Wed, Aug 2, 2017 at 10:51 AM, David Miller wrote: >> >> From: Yuchung Cheng >> Date: Tue, 1 Aug 2017 13:22:32 -0700 >> >> > If the sender switches the congestion control during ECN-triggered >> > cwnd-reduction state (CA_CWR), upon

Re: [PATCH net] tcp: avoid setting cwnd to invalid ssthresh after cwnd reduction states

2017-08-02 Thread Yuchung Cheng
On Wed, Aug 2, 2017 at 10:51 AM, David Miller wrote: > > From: Yuchung Cheng > Date: Tue, 1 Aug 2017 13:22:32 -0700 > > > If the sender switches the congestion control during ECN-triggered > > cwnd-reduction state (CA_CWR), upon exiting recovery cwnd is set to > > the ssthresh value calculated b

Re: [PATCH net] tcp: avoid setting cwnd to invalid ssthresh after cwnd reduction states

2017-08-02 Thread David Miller
From: Yuchung Cheng Date: Tue, 1 Aug 2017 13:22:32 -0700 > If the sender switches the congestion control during ECN-triggered > cwnd-reduction state (CA_CWR), upon exiting recovery cwnd is set to > the ssthresh value calculated by the previous congestion control. If > the previous congestion con

Re: [PATCH net] tcp: avoid setting cwnd to invalid ssthresh after cwnd reduction states

2017-08-02 Thread Eric Dumazet
On Tue, 2017-08-01 at 13:22 -0700, Yuchung Cheng wrote: > If the sender switches the congestion control during ECN-triggered > cwnd-reduction state (CA_CWR), upon exiting recovery cwnd is set to > the ssthresh value calculated by the previous congestion control. If > the previous congestion control

[PATCH net] tcp: avoid setting cwnd to invalid ssthresh after cwnd reduction states

2017-08-01 Thread Yuchung Cheng
If the sender switches the congestion control during ECN-triggered cwnd-reduction state (CA_CWR), upon exiting recovery cwnd is set to the ssthresh value calculated by the previous congestion control. If the previous congestion control is BBR that always keep ssthresh to TCP_INIFINITE_SSTHRESH, cwn