bug 1022: inappropriate ASSERT in tcp-socket-impl.cc

This commit is contained in:
Tom Henderson
2010-11-17 16:17:35 -08:00
parent 686f692ac9
commit a9b910fd14
2 changed files with 1 additions and 3 deletions

View File

@@ -60,6 +60,7 @@ since ns-3.9, in many cases referencing the Bugzilla bug number
- bug 988 - MacRxMiddle::SequenceControlSmaller method
- bug 993 - MinstrelWifiManager::UpdateStats useless if clause
- bug 1015 - GetChannelFrequencyMhz() does not match with standard
- bug 1022 - inappropriate ASSERT in tcp-socket-impl.cc
- bug 1027 - RocketfuelTopologyReader is not working at all
Known issues

View File

@@ -1314,9 +1314,6 @@ void TcpSocketImpl::NewRx (Ptr<Packet> p,
m_nextRxSequence += s; // Advance next expected sequence
NS_LOG_LOGIC("Case 1, advanced nrxs to " << m_nextRxSequence );
//buffer this, it'll be read by call to Recv
UnAckData_t::iterator i =
m_bufferedData.find (tcpHeader.GetSequenceNumber () );
NS_ASSERT(i == m_bufferedData.end ()); //no way it should have been found
// Save for later delivery if there is room
m_bufferedData[tcpHeader.GetSequenceNumber () ] = p;
m_rxAvailable += p->GetSize ();