gfe-relnote: use GetMinRtt to calculate lower bound of pacing rate when overshoot detected to avoid divided by 0 problem. Protected by existing gfe2_reloadable_flag_quic_bbr_mitigate_overly_large_bandwidth_sample. PiperOrigin-RevId: 294210302 Change-Id: I40b14a7be0d040aa29afb9224d7436b137f556d1
diff --git a/quic/core/congestion_control/bbr_sender.cc b/quic/core/congestion_control/bbr_sender.cc index e0ea89c..5a6de91 100644 --- a/quic/core/congestion_control/bbr_sender.cc +++ b/quic/core/congestion_control/bbr_sender.cc
@@ -876,9 +876,8 @@ // Do not let the pacing rate drop below the connection's initial pacing // rate. pacing_rate_ = - std::max(target_rate, - QuicBandwidth::FromBytesAndTimeDelta( - initial_congestion_window_, rtt_stats_->min_rtt())); + std::max(target_rate, QuicBandwidth::FromBytesAndTimeDelta( + initial_congestion_window_, GetMinRtt())); if (stats_) { stats_->overshooting_detected_with_network_parameters_adjusted = true; }