Skip to content

internet: Call BytesInFlight () method before processing an ACK to update m_bytesInFlight variable

This patch calls the BytesInFlight () method before processing the ACK for the proper calculation of the congestion window. PRR recovery algorithm uses m_bytesInFlight variable to update the cwnd in its DoRecovery () method. As m_bytesInFlight was not getting updated, the cwnd value in the DoRecovery () method of PRR considered the previous value of m_bytesInFlight rather than current value. Calling BytesInFlight () method before processing the ACK removes this inconsistency.

Merge request reports