Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Nov 2011 10:58:48 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r227931 - head/sys/netinet
Message-ID:  <201111241058.pAOAwmUk093045@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 };
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111241058.pAOAwmUk093045>