1. 23 10月, 2008 1 次提交
    • W
      sctp: Fix to handle SHUTDOWN in SHUTDOWN-PENDING state · cf896d51
      Wei Yongjun 提交于
      If SHUTDOWN is received in SHUTDOWN-PENDING state, enpoint should enter
      the SHUTDOWN-RECEIVED state and check the Cumulative TSN Ack field of
      the SHUTDOWN chunk (RFC 4960 Section 9.2). If the SHUTDOWN chunk can
      acknowledge all of the send DATA chunks, SHUTDOWN-ACK should be sent.
      
      But now endpoint just silently discarded the SHUTDOWN chunk.
      
      SHUTDOWN received in SHUTDOWN-PENDING state can happend when the last
      SACK is lost by network, or the SHUTDOWN chunk can acknowledge all of
      the received DATA chunks. The packet sequence(SACK lost) is like this:
      
      Endpoint A                       Endpoint B       ULP
      (ESTABLISHED)                    (ESTABLISHED)
      
                     <-----------      DATA
                                                   <--- shutdown
                                       Enter SHUTDOWN-PENDING state
        SACK         ----lost---->
      
        SHUTDOWN(*1) ------------>
      
                     <-----------      SHUTDOWN-ACK
      
       (*1) silently discarded now.
      
      This patch fix to handle SHUTDOWN in SHUTDOWN-PENDING state as the same
      as ESTABLISHED state.
      Signed-off-by: NWei Yongjun <yjwei@cn.fujitsu.com>
      Signed-off-by: NVlad Yasevich <vladislav.yasevich@hp.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      cf896d51
  2. 01 10月, 2008 1 次提交
    • W
      sctp: Fix to start T5-shutdown-guard timer while enter SHUTDOWN-SENT state · 536428a9
      Wei Yongjun 提交于
      RFC 4960: Section 9.2
      The sender of the SHUTDOWN MAY also start an overall guard timer
      'T5-shutdown-guard' to bound the overall time for the shutdown
      sequence.  At the expiration of this timer, the sender SHOULD abort
      the association by sending an ABORT chunk.  If the 'T5-shutdown-
      guard' timer is used, it SHOULD be set to the recommended value of 5
      times 'RTO.Max'.
      
      The timer 'T5-shutdown-guard' is used to counter the overall time
      for shutdown sequence, and it's start by the sender of the SHUTDOWN.
      So timer 'T5-shutdown-guard' should be start when we send the first
      SHUTDOWN chunk and enter the SHUTDOWN-SENT state, not start when we
      receipt of the SHUTDOWN primitive and enter SHUTDOWN-PENDING state.
      
      If 'T5-shutdown-guard' timer is start at SHUTDOWN-PENDING state, the
      association may be ABORT while data is still transmitting.
      Signed-off-by: NWei Yongjun <yjwei@cn.fujitsu.com>
      Signed-off-by: NVlad Yasevich <vladislav.yasevich@hp.com>
      536428a9
  3. 05 2月, 2008 1 次提交
  4. 29 1月, 2008 1 次提交
  5. 11 10月, 2007 1 次提交
  6. 26 9月, 2007 1 次提交
  7. 04 6月, 2007 1 次提交
  8. 26 4月, 2007 1 次提交
  9. 11 2月, 2007 1 次提交
  10. 24 1月, 2007 1 次提交
  11. 03 12月, 2006 1 次提交
  12. 06 5月, 2006 1 次提交
  13. 21 6月, 2005 1 次提交
  14. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4