summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzec <zec@FreeBSD.org>2009-08-14 22:43:25 +0000
committerzec <zec@FreeBSD.org>2009-08-14 22:43:25 +0000
commit5f19f38b2404ff11e7bc462f204b595b9b6bd19a (patch)
treea7b8e53c7593eb37ee91282454d1c64dfa814cc6
parentb464f1dafc0e6b57446512ebbb01e4179aec9afb (diff)
downloadFreeBSD-src-5f19f38b2404ff11e7bc462f204b595b9b6bd19a.zip
FreeBSD-src-5f19f38b2404ff11e7bc462f204b595b9b6bd19a.tar.gz
SCTP is not yet compatible with options VIMAGE kernels although it compiles
with VIMAGE defined, so explicitly disallow building such kernels. Reviewed by: rrs Approved by: re (rwatson), julian (mentor)
-rw-r--r--sys/netinet/sctp_os_bsd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/netinet/sctp_os_bsd.h b/sys/netinet/sctp_os_bsd.h
index f3ccb63..d018790 100644
--- a/sys/netinet/sctp_os_bsd.h
+++ b/sys/netinet/sctp_os_bsd.h
@@ -78,6 +78,10 @@ __FBSDID("$FreeBSD$");
#include <netinet/ip_icmp.h>
#include <netinet/icmp_var.h>
+#ifdef VIMAGE
+#error "SCTP is not yet compatible with VIMAGE."
+#endif
+
#ifdef IPSEC
#include <netipsec/ipsec.h>
#include <netipsec/key.h>
OpenPOWER on IntegriCloud