tcp: (fixes #2484) corrected the exit from CA_LOSS
This commit is contained in:
@@ -95,6 +95,7 @@ Bugs fixed
|
||||
- Bug 2468 - Simulation with A-MPDU enabled hangs when fragmentation threshold is smaller than MSDU size
|
||||
- Bug 2469 - send Block Ack Request upon short/long retry failures
|
||||
- Bug 2479 - Flow monitor does not a have a "DROP_QUEUE_DISC" drop reason
|
||||
- Bug 2484 - Corrected the exit from CA_LOSS state in TCP
|
||||
- Bug 2486 - NextTxSequence was not traced back from TCB
|
||||
|
||||
Known issues
|
||||
|
||||
@@ -1683,9 +1683,12 @@ TcpSocketBase::ReceivedAck (Ptr<Packet> packet, const TcpHeader& tcpHeader)
|
||||
m_congestionControl->PktsAcked (m_tcb, segsAcked, m_lastRtt);
|
||||
m_dupAckCount = 0;
|
||||
m_retransOut = 0;
|
||||
m_congestionControl->CongestionStateSet (m_tcb, TcpSocketState::CA_OPEN);
|
||||
m_tcb->m_congState = TcpSocketState::CA_OPEN;
|
||||
NS_LOG_DEBUG ("LOSS -> OPEN");
|
||||
if(ackNumber >= m_recover + 1)
|
||||
{
|
||||
m_congestionControl->CongestionStateSet (m_tcb, TcpSocketState::CA_OPEN);
|
||||
m_tcb->m_congState = TcpSocketState::CA_OPEN;
|
||||
NS_LOG_DEBUG ("LOSS -> OPEN");
|
||||
}
|
||||
}
|
||||
|
||||
if (callCongestionControl)
|
||||
|
||||
Reference in New Issue
Block a user