1. 24 1月, 2007 2 次提交
  2. 10 1月, 2007 1 次提交
  3. 23 12月, 2006 1 次提交
  4. 08 12月, 2006 2 次提交
  5. 03 12月, 2006 22 次提交
  6. 30 9月, 2006 1 次提交
  7. 21 9月, 2006 1 次提交
  8. 23 8月, 2006 1 次提交
  9. 22 7月, 2006 2 次提交
  10. 20 6月, 2006 1 次提交
  11. 18 1月, 2006 2 次提交
    • V
      [SCTP]: Fix machine check/connection hang on IA64. · 313e7b4d
      Vlad Yasevich 提交于
      sctp_unpack_cookie used an on-stack array called digest as a result/out
      parameter in the call to crypto_hmac. However, hmac code
      (crypto_hmac_final)
      assumes that the 'out' argument is in virtual memory (identity mapped
      region)
      and can use virt_to_page call on it.  This does not work with the on-stack
      declared digest.  The problems observed so far have been:
       a) incorrect hmac digest
       b) machine check and hardware reset.
      
      Solution is to define the digest in an identity mapped region by
      kmalloc'ing
      it.  We can do this once as part of the endpoint structure and re-use it
      when
      verifying the SCTP cookie.
      Signed-off-by: NVlad Yasevich <vladislav.yasevich@hp.com>
      Signed-off-by: NSridhar Samudrala <sri@us.ibm.com>
      313e7b4d
    • V
      [SCTP]: Fix sctp_cookie alignment in the packet. · 9834a2bb
      Vlad Yasevich 提交于
      On 64 bit architectures, sctp_cookie sent as part of INIT-ACK is not
      aligned on a 64 bit boundry and thus causes unaligned access exceptions.
      
      The layout of the cookie prameter is this:
      |<----- Parameter Header --------------------|<--- Cookie DATA --------
      -----------------------------------------------------------------------
      | param type (16 bits) | param len (16 bits) | sig [32 bytes] | cookie..
      -----------------------------------------------------------------------
      
      The cookie data portion contains 64 bit values on 64 bit architechtures
      (timeval) that fall on a 32 bit alignment boundry when used as part of
      the on-wire format, but align correctly when used in internal
      structures.  This patch explicitely pads the on-wire format so that
      it is properly aligned.
      Signed-off-by: NVlad Yasevich <vladislav.yasevich@hp.com>
      Signed-off-by: NSridhar Samudrala <sri@us.ibm.com>
      9834a2bb
  12. 12 1月, 2006 1 次提交
  13. 09 11月, 2005 1 次提交
  14. 29 10月, 2005 1 次提交
  15. 09 10月, 2005 1 次提交