tcp: (fixes #2874) Corrected interpretation of RFC 6675 for IsLost check

This commit is contained in:
Natale Patriciello
2018-02-25 11:37:52 +01:00
parent d42d15b50f
commit 9b62ac5401
2 changed files with 2 additions and 1 deletions

View File

@@ -60,6 +60,7 @@ Bugs fixed
- Bug 2849 - lte: Received RLC and PDCP PDUs are missing in the stats files
- Bug 2854 - wifi: he-wifi-network crashes when frequency is set at 2.4 GHz
- Bug 2873 - tcp: Potential SIGFPE in TcpYeah
- Bug 2874 - tcp: Corrected interpretation of RFC 6675 for IsLost check
- Bug 2877 - wifi: Wrong data types for CWmin and CWmax
Known issues

View File

@@ -1552,7 +1552,7 @@ TcpSocketBase::DupAck ()
// (indicating at least three segments have arrived above the current
// cumulative acknowledgment point, which is taken to indicate loss)
// go to step (4).
else if (m_txBuffer->IsLost (m_highRxAckMark + 1, m_retxThresh, m_tcb->m_segmentSize))
else if (m_txBuffer->IsLost (m_highRxAckMark + m_tcb->m_segmentSize, m_retxThresh, m_tcb->m_segmentSize))
{
EnterRecovery ();
NS_ASSERT (m_tcb->m_congState == TcpSocketState::CA_RECOVERY);