From 4df1a4e912a3f28cda78498cc27541eb191be270 Mon Sep 17 00:00:00 2001 From: rwatson Date: Fri, 5 Jun 2009 14:31:03 +0000 Subject: 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. --- sys/netinet/tcp_syncache.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/netinet/tcp_syncache.h') 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 */ }; -- cgit v1.1