PERFORCE change 27367 for review

Robert Watson rwatson at freebsd.org
Tue Mar 25 19:30:44 GMT 2003


http://perforce.freebsd.org/chv.cgi?CH=27367

Change 27367 by rwatson at rwatson_tislabs on 2003/03/25 11:29:53

	Conversion macro to turn mbuf allocation flags into malloc
	allocation flags for MAC purposes.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/sys/mbuf.h#24 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/sys/mbuf.h#24 (text+ko) ====

@@ -272,6 +272,7 @@
 #define	M_DONTWAIT	0x4		/* don't conflict with M_NOWAIT */
 #define	M_TRYWAIT	0x8		/* or M_WAITOK */
 #define	M_WAIT		M_TRYWAIT	/* XXX: Deprecated. */
+#define	MBUF_TO_MALLOC(how)	((how) == M_TRYWAIT ? M_WAITOK : M_NOWAIT)
 
 #ifdef _KERNEL
 /*-
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list