tcp: Fix PRR ignoring credits indicated by m_prrDelivered - m_prrOut
This commit is contained in:
committed by
Tom Henderson
parent
ee315fe465
commit
2fbb5de93a
@@ -98,10 +98,6 @@ TcpPrrRecovery::DoRecovery(Ptr<TcpSocketState> tcb, uint32_t deliveredBytes)
|
||||
{
|
||||
limit = std::max(m_prrDelivered - m_prrOut, deliveredBytes) + tcb->m_segmentSize;
|
||||
}
|
||||
else
|
||||
{
|
||||
limit = deliveredBytes;
|
||||
}
|
||||
}
|
||||
sendCount = std::min(limit, static_cast<int>(tcb->m_ssThresh - tcb->m_bytesInFlight));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user