From owner-svn-src-head@FreeBSD.ORG Thu Nov 24 10:54:31 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2EDC5106566B; Thu, 24 Nov 2011 10:54:31 +0000 (UTC) (envelope-from tuexen@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 1ED618FC12; Thu, 24 Nov 2011 10:54:31 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id pAOAsVaG092876; Thu, 24 Nov 2011 10:54:31 GMT (envelope-from tuexen@svn.freebsd.org) Received: (from tuexen@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id pAOAsVGR092874; Thu, 24 Nov 2011 10:54:31 GMT (envelope-from tuexen@svn.freebsd.org) Message-Id: <201111241054.pAOAsVGR092874@svn.freebsd.org> From: Michael Tuexen Date: Thu, 24 Nov 2011 10:54:30 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r227930 - head/sys/netinet X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Nov 2011 10:54:31 -0000 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; };