svn commit: r206734 - stable/8/sys/netinet

Randall Stewart rrs at FreeBSD.org
Sat Apr 17 04:00:57 UTC 2010


Author: rrs
Date: Sat Apr 17 04:00:57 2010
New Revision: 206734
URL: http://svn.freebsd.org/changeset/base/206734

Log:
  MFC of 203847
  
  Puts in missing packed declarations (from Michael). It worked
  only because it was properly aligned anyway ;-)

Modified:
  stable/8/sys/netinet/sctp_header.h
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/netinet/sctp_header.h
==============================================================================
--- stable/8/sys/netinet/sctp_header.h	Sat Apr 17 03:58:56 2010	(r206733)
+++ stable/8/sys/netinet/sctp_header.h	Sat Apr 17 04:00:57 2010	(r206734)
@@ -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-stable mailing list