PERFORCE change 126500 for review
Kip Macy
kmacy at FreeBSD.org
Sun Sep 16 20:37:17 PDT 2007
http://perforce.freebsd.org/chv.cgi?CH=126500
Change 126500 by kmacy at kmacy_home:ethng on 2007/09/17 03:36:17
check if MINCLSIZE is already defined
Affected files ...
.. //depot/projects/ethng/src/sys/sys/mbuf.h#5 edit
Differences ...
==== //depot/projects/ethng/src/sys/sys/mbuf.h#5 (text+ko) ====
@@ -55,8 +55,10 @@
*/
#define MLEN (MSIZE - sizeof(struct m_hdr)) /* normal data len */
#define MHLEN (MLEN - sizeof(struct pkthdr)) /* data len w/pkthdr */
+#define M_MAXCOMPRESS (MHLEN / 2) /* max amount to copy for compression */
+#ifndef MINCLSIZE
#define MINCLSIZE (MHLEN + 1) /* smallest amount to put in cluster */
-#define M_MAXCOMPRESS (MHLEN / 2) /* max amount to copy for compression */
+#endif
#ifdef _KERNEL
/*-
More information about the p4-projects
mailing list