aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2009-06-05 14:31:03 +0000
committerRobert Watson <rwatson@FreeBSD.org>2009-06-05 14:31:03 +0000
commit88a9a9a61ce829ebdcc3fdf320c3c6270175566f (patch)
tree84560629a0fd8e09b373949d0c7e33dc44a2ddd0
parent0da4382a7595eaf45dcf544ddd42fbc1b5d9f7eb (diff)
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.
Notes
Notes: svn path=/head/; revision=193510
-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 e4e3fac384d4..e488039dcd03 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 */
};