tcp: Fix an issue with fast convergence in Cubic
This commit is contained in:
committed by
Tom Henderson
parent
810f92dfd1
commit
8783e5992b
@@ -397,7 +397,7 @@ TcpCubic::GetSsThresh (Ptr<const TcpSocketState> tcb, uint32_t bytesInFlight)
|
||||
/* Wmax and fast convergence */
|
||||
if (segCwnd < m_lastMaxCwnd && m_fastConvergence)
|
||||
{
|
||||
m_lastMaxCwnd = m_beta * segCwnd;
|
||||
m_lastMaxCwnd = (segCwnd * (1 + m_beta)) / 2; // Section 4.6 in RFC 8312
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user