svn commit: r227931 - head/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Thu Nov 24 10:58:48 UTC 2011
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;
};
More information about the svn-src-all
mailing list