1. 25 7月, 2017 8 次提交
  2. 17 7月, 2017 11 次提交
  3. 02 7月, 2017 11 次提交
  4. 20 2月, 2017 1 次提交
  5. 10 2月, 2017 3 次提交
  6. 08 2月, 2017 1 次提交
    • M
      sctp: drop __packed from almost all SCTP structures · 85c727b5
      Marcelo Ricardo Leitner 提交于
      __packed is considered harmful as it potentially generates code that
      doesn't perform well and its usage should be avoided as much as
      possible.
      
      This patch drops __packed from all SCTP structures except one, which is
      sctp_signed_cookie. In there it's required, as per changelog on
      commit 9834a2bb ("[SCTP]: Fix sctp_cookie alignment in the packet.").
      
      After this patch, no alignment changes neither in x86 or x86_64 and
      no exceptions were noticed during testing on both archs.
      
      Code size for SCTP module also didn't change with this patch.
      
      Cc: David Miller <davem@davemloft.net>
      Cc: David Laight <David.Laight@ACULAB.COM>
      Signed-off-by: NMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      85c727b5
  7. 19 1月, 2017 1 次提交
  8. 09 8月, 2016 1 次提交
  9. 01 6月, 2016 1 次提交
  10. 16 4月, 2016 1 次提交
    • X
      sctp: add sctp_info dump api for sctp_diag · 52c52a61
      Xin Long 提交于
      sctp_diag will dump some important details of sctp's assoc or ep, we use
      sctp_info to describe them,  sctp_get_sctp_info to get them, and export
      it to sctp_diag.ko.
      
      v2->v3:
      - we will not use list_for_each_safe in sctp_get_sctp_info, cause
        all the callers of it will use lock_sock.
      
      - fix the holes in struct sctp_info with __reserved* field.
        because sctp_diag is a new feature, and sctp_info is just for now,
        it may be changed in the future.
      Signed-off-by: NXin Long <lucien.xin@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      52c52a61
  11. 20 1月, 2014 1 次提交