View | Details | Raw Unified | Return to bug 2875
Collapse All | Expand All

(-)a/src/internet/model/tcp-socket-base.cc (-1 / +2 lines)
 Lines 2794-2801   TcpSocketBase::SendPendingData (bool withAck) Link Here 
2794
      //       failure (no data to send), return without sending anything
2794
      //       failure (no data to send), return without sending anything
2795
      //       (i.e., terminate steps C.1 -- C.5).
2795
      //       (i.e., terminate steps C.1 -- C.5).
2796
      SequenceNumber32 next;
2796
      SequenceNumber32 next;
2797
      bool enableRule3 = m_sackEnabled && m_tcb->m_congState == TcpSocketState::CA_RECOVERY;
2797
      if (!m_txBuffer->NextSeg (&next, m_retxThresh, m_tcb->m_segmentSize,
2798
      if (!m_txBuffer->NextSeg (&next, m_retxThresh, m_tcb->m_segmentSize,
2798
                                m_tcb->m_congState == TcpSocketState::CA_RECOVERY))
2799
                                enableRule3))
2799
        {
2800
        {
2800
          NS_LOG_INFO ("no valid seq to transmit, or no data available");
2801
          NS_LOG_INFO ("no valid seq to transmit, or no data available");
2801
          break;
2802
          break;

Return to bug 2875