tcp: reset cwnd to 1 after, and not before, the notification to a CA
This commit is contained in:
committed by
Tom Henderson
parent
5fb0c87688
commit
e82c68a1ae
@@ -3532,11 +3532,11 @@ TcpSocketBase::ReTxTimeout ()
|
||||
}
|
||||
|
||||
// Cwnd set to 1 MSS
|
||||
m_tcb->m_cWnd = m_tcb->m_segmentSize;
|
||||
m_tcb->m_cWndInfl = m_tcb->m_cWnd;
|
||||
m_congestionControl->CwndEvent (m_tcb, TcpSocketState::CA_EVENT_LOSS);
|
||||
m_congestionControl->CongestionStateSet (m_tcb, TcpSocketState::CA_LOSS);
|
||||
m_tcb->m_congState = TcpSocketState::CA_LOSS;
|
||||
m_tcb->m_cWnd = m_tcb->m_segmentSize;
|
||||
m_tcb->m_cWndInfl = m_tcb->m_cWnd;
|
||||
|
||||
m_pacingTimer.Cancel ();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user