summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_syncache.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-06-05 14:31:03 +0000
committerrwatson <rwatson@FreeBSD.org>2009-06-05 14:31:03 +0000
commit4df1a4e912a3f28cda78498cc27541eb191be270 (patch)
tree84560629a0fd8e09b373949d0c7e33dc44a2ddd0 /sys/netinet/tcp_syncache.h
parent6f068cf2c4dc1df59c250d88b24eda98b5141e43 (diff)
downloadFreeBSD-src-4df1a4e912a3f28cda78498cc27541eb191be270.zip
FreeBSD-src-4df1a4e912a3f28cda78498cc27541eb191be270.tar.gz
Unifdef MAC label pointer in syncache entries -- in general, ifdef'd
structure contents are a bad idea in the kernel for binary compatibility reasons, and this is a single pointer that is now included in compiles by default anyway due to options MAC being in GENERIC.
Diffstat (limited to 'sys/netinet/tcp_syncache.h')
-rw-r--r--sys/netinet/tcp_syncache.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/netinet/tcp_syncache.h b/sys/netinet/tcp_syncache.h
index e4e3fac..e488039 100644
--- a/sys/netinet/tcp_syncache.h
+++ b/sys/netinet/tcp_syncache.h
@@ -74,9 +74,7 @@ struct syncache {
struct toe_usrreqs *sc_tu; /* TOE operations */
void *sc_toepcb; /* TOE protocol block */
#endif
-#ifdef MAC
struct label *sc_label; /* MAC label reference */
-#endif
struct ucred *sc_cred; /* cred cache for jail checks */
};
OpenPOWER on IntegriCloud