Bugzilla – Bug 1242
m_lastRtt in tcp-socket-base.cc is not implemented
Last modified: 2011-09-29 13:17:07 UTC
proposed diff --- a/src/internet/model/tcp-socket-base.cc Mon Aug 08 08:33:29 2011 -0700 +++ b/src/internet/model/tcp-socket-base.cc Wed Aug 10 06:00:43 2011 -0400 @@ -1453,7 +1453,7 @@ // Use m_rtt for the estimation. Note, RTT of duplicated acknowledgement // (which should be ignored) is handled by m_rtt. Once timestamp option // is implemented, this function would be more elaborated. - m_rtt->AckSeq (tcpHeader.GetAckNumber () ); + m_lastRtt = m_rtt->AckSeq (tcpHeader.GetAckNumber () ); };
This is valid. This patch shall be accepted.