Re: [PATCH net] tcp_bbr: fix pacing_gain to always be unity when using lt_bw

2018-02-01 Thread David Miller
From: Neal Cardwell Date: Wed, 31 Jan 2018 15:43:05 -0500 > This commit fixes the pacing_gain to remain at BBR_UNIT (1.0) when > using lt_bw and returning from the PROBE_RTT state to PROBE_BW. > > Previously, when using lt_bw, upon exiting PROBE_RTT and entering > PROBE_BW the bbr_reset_probe_bw

[PATCH net] tcp_bbr: fix pacing_gain to always be unity when using lt_bw

2018-01-31 Thread Neal Cardwell
This commit fixes the pacing_gain to remain at BBR_UNIT (1.0) when using lt_bw and returning from the PROBE_RTT state to PROBE_BW. Previously, when using lt_bw, upon exiting PROBE_RTT and entering PROBE_BW the bbr_reset_probe_bw_mode() code could sometimes randomly end up with a cycle_idx of 0 and