Author: tuexen
Date: Thu Nov 24 10:58:48 2011
New Revision: 227931
URL: http://svn.freebsd.org/changeset/base/227931

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

Modified:
  head/sys/netinet/sctp_uio.h

Modified: head/sys/netinet/sctp_uio.h
==============================================================================
--- head/sys/netinet/sctp_uio.h Thu Nov 24 10:54:30 2011        (r227930)
+++ head/sys/netinet/sctp_uio.h Thu Nov 24 10:58:48 2011        (r227931)
@@ -672,8 +672,8 @@ struct sctp_timeouts {
 };
 
 struct sctp_udpencaps {
-       sctp_assoc_t sue_assoc_id;
        struct sockaddr_storage sue_address;
+       sctp_assoc_t sue_assoc_id;
        uint16_t sue_port;
 };
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to