svn commit: r227930 - head/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Thu Nov 24 10:54:31 UTC 2011


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;
 };


More information about the svn-src-all mailing list