Author: tuexen
Date: Thu Nov 24 10:54:30 2011
New Revision: 227930
URL: http://svn.freebsd.org/changeset/base/227930

Log:
  Move up the address to the top of the sctp_paddrthlds structure
  like in all other structures. This avoids alignment problems.
  
  MFC after: 3 days.

Modified:
  head/sys/netinet/sctp_uio.h

Modified: head/sys/netinet/sctp_uio.h
==============================================================================
--- head/sys/netinet/sctp_uio.h Thu Nov 24 10:08:22 2011        (r227929)
+++ head/sys/netinet/sctp_uio.h Thu Nov 24 10:54:30 2011        (r227930)
@@ -521,8 +521,8 @@ struct sctp_paddrparams {
 #define SPP_IPV4_TOS            SPP_DSCP
 
 struct sctp_paddrthlds {
-       sctp_assoc_t spt_assoc_id;
        struct sockaddr_storage spt_address;
+       sctp_assoc_t spt_assoc_id;
        uint16_t spt_pathmaxrxt;
        uint16_t spt_pathpfthld;
 };
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to