Skip to content

tcp: (fixes #59) Fix handling of SACK blocks with PRR

This patch fixes the handling of SACK blocks with PRR recovery algorithm. If the recovery algorithm is set as PRR then on entering the Recovery phase, m_prrDelivered variable which is defined as the total number of bytes delivered during recovery is calculated. On receiving 3 duplicate ACKs we enter into the recovery phase and current implementation of PRR in ns-3 does not consider the SACK blocks of 3rd dupack in calculating m_prrDelivered value. This patch takes into consideration the number of bytes SACKed by the 3rd dupack to calculate m_prrDelivered value.

Merge request reports