svn commit: r193510 - head/sys/netinet

Robert Watson rwatson at FreeBSD.org
Fri Jun 5 14:31:04 UTC 2009


Author: rwatson
Date: Fri Jun  5 14:31:03 2009
New Revision: 193510
URL: http://svn.freebsd.org/changeset/base/193510

Log:
  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.

Modified:
  head/sys/netinet/tcp_syncache.h

Modified: head/sys/netinet/tcp_syncache.h
==============================================================================
--- head/sys/netinet/tcp_syncache.h	Fri Jun  5 14:29:49 2009	(r193509)
+++ head/sys/netinet/tcp_syncache.h	Fri Jun  5 14:31:03 2009	(r193510)
@@ -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 */
 };
 


More information about the svn-src-head mailing list