Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Feb 2010 21:38:15 +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: r203847 - head/sys/netinet
Message-ID:  <201002132138.o1DLcFMO077388@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tuexen
Date: Sat Feb 13 21:38:15 2010
New Revision: 203847
URL: http://svn.freebsd.org/changeset/base/203847

Log:
  Add missing SCTP_PACKED. Spotted by Irene Ruengeler.
  
  MFC after: 1 week

Modified:
  head/sys/netinet/sctp_header.h

Modified: head/sys/netinet/sctp_header.h
==============================================================================
--- head/sys/netinet/sctp_header.h	Sat Feb 13 19:17:06 2010	(r203846)
+++ head/sys/netinet/sctp_header.h	Sat Feb 13 21:38:15 2010	(r203847)
@@ -62,7 +62,7 @@ struct sctp_ipv6addr_param {
 struct sctp_cookie_perserve_param {
 	struct sctp_paramhdr ph;/* type=SCTP_COOKIE_PRESERVE, len=8 */
 	uint32_t time;		/* time in ms to extend cookie */
-};
+}                          SCTP_PACKED;
 
 #define SCTP_ARRAY_MIN_LEN 1
 /* Host Name Address */
@@ -495,7 +495,7 @@ struct sctp_stream_reset_add_strm {
 	uint32_t request_seq;
 	uint16_t number_of_streams;
 	uint16_t reserved;
-};
+}                          SCTP_PACKED;
 
 #define SCTP_STREAM_RESET_NOTHING   0x00000000	/* Nothing for me to do */
 #define SCTP_STREAM_RESET_PERFORMED 0x00000001	/* Did it */



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