svn commit: r203847 - head/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Sat Feb 13 21:38:15 UTC 2010


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 */


More information about the svn-src-all mailing list