svn commit: r235990 - head/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Fri May 25 11:14:08 UTC 2012
Author: tuexen
Date: Fri May 25 11:14:08 2012
New Revision: 235990
URL: http://svn.freebsd.org/changeset/base/235990
Log:
Undefine SCTP_PACKED before including sctp_uio.h, which doesn't
use it. Spotted by Irene Ruengeler.
MFC after: 3 days
Modified:
head/sys/netinet/sctp.h
Modified: head/sys/netinet/sctp.h
==============================================================================
--- head/sys/netinet/sctp.h Fri May 25 10:08:48 2012 (r235989)
+++ head/sys/netinet/sctp.h Fri May 25 11:14:08 2012 (r235990)
@@ -556,6 +556,8 @@ struct sctp_error_unrecognized_chunk {
#define SCTP_SMALLEST_PMTU 512 /* smallest pmtu allowed when disabling PMTU
* discovery */
+#undef SCTP_PACKED
+
#include <netinet/sctp_uio.h>
/* This dictates the size of the packet
@@ -607,7 +609,4 @@ struct sctp_error_unrecognized_chunk {
#define SCTP_LOG_AT_SEND_2_OUTQ 0x08000000
#define SCTP_LOG_TRY_ADVANCE 0x10000000
-
-#undef SCTP_PACKED
-
#endif /* !_NETINET_SCTP_H_ */
More information about the svn-src-all
mailing list