1. 08 11月, 2007 2 次提交
    • V
      SCTP: Update RCU handling during the ADD-IP case · 0ed90fb0
      Vlad Yasevich 提交于
      After learning more about rcu, it looks like the ADD-IP hadling
      doesn't need to call call_rcu_bh.  All the rcu critical sections
      use rcu_read_lock, so using call_rcu_bh is wrong here.
      Now, restore the local_bh_disable() code blocks and use normal
      call_rcu() calls.  Also restore the missing return statement.
      Signed-off-by: NVlad Yasevich <vladislav.yasevich@hp.com>
      0ed90fb0
    • V
      SCTP: Fix difference cases of retransmit. · b6157d8e
      Vlad Yasevich 提交于
      Commit d0ce9291 broke several retransmit
      cases including fast retransmit.  The reason is that we should
      only delay by rto while doing retranmists as a result of a timeout.
      Retransmit as a result of path mtu discover, fast retransmit, or
      other evernts that should trigger immidiate retransmissions got broken.
      
      Also, since rto is doubled prior to marking of packets elegable for
      retransmission, we never marked correct chunks anyway.
      
      The fix is provide a reason for a given retransmission so that we
      can mark chunks appropriately and to save the old rto value to do
      comparisons against.
      
      All regressions tests passed with this code.
      
      Spotted by Wei Yongjun <yjwei@cn.fujitsu.com>
      Signed-off-by: NVlad Yasevich <vladislav.yasevich@hp.com>
      b6157d8e
  2. 29 10月, 2007 1 次提交
  3. 26 10月, 2007 2 次提交
  4. 11 10月, 2007 10 次提交
  5. 27 9月, 2007 1 次提交
  6. 26 9月, 2007 2 次提交
  7. 17 9月, 2007 2 次提交
  8. 31 8月, 2007 1 次提交
    • W
      SCTP: Fix to encode PROTOCOL VIOLATION error cause correctly · 00f1c2df
      Wei Yongjun 提交于
      PROTOCOL VIOLATION error cause in ABORT is bad encode when make abort
      chunk. When SCTP encode ABORT chunk with PROTOCOL VIOLATION error cause,
      it just add the error messages to PROTOCOL VIOLATION error cause, the
      rest four bytes(struct sctp_paramhdr) is just add to the chunk, not
      change the length of error cause. This cause the ABORT chunk to be a bad
      format. The chunk is like this:
      
      ABORT chunk
        Chunk type: ABORT (6)
        Chunk flags: 0x00
        Chunk length: 72 (*1)
        Protocol violation cause
          Cause code: Protocol violation (0x000d)
          Cause length: 62 (*2)
          Cause information: 5468652063756D756C61746976652074736E2061636B2062...
          Cause padding: 0000
      [Needless] 00030010
      Chunk Length(*1) = 72 but Cause length(*2) only 62, not include the
      extend 4 bytes.
      ((72 - sizeof(chunk_hdr)) = 68) != (62 +3) / 4 * 4
      Signed-off-by: NWei Yongjun <yjwei@cn.fujitsu.com>
      Signed-off-by: NVlad Yasevich <vladislav.yasevich@hp.com>
      00f1c2df
  9. 30 8月, 2007 1 次提交
  10. 01 8月, 2007 1 次提交
  11. 14 6月, 2007 2 次提交
  12. 05 5月, 2007 2 次提交
  13. 26 4月, 2007 6 次提交
  14. 20 3月, 2007 2 次提交
  15. 24 1月, 2007 1 次提交
  16. 23 12月, 2006 2 次提交
  17. 14 12月, 2006 2 次提交