PERFORCE change 15270 for review

Robert Watson rwatson at freebsd.org
Wed Jul 31 02:46:44 GMT 2002


http://people.freebsd.org/~peter/p4db/chv.cgi?CH=15270

Change 15270 by rwatson at rwatson_paprika on 2002/07/30 19:45:52

	Remove mbuf destroys due to integ.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/kern/uipc_mbuf.c#12 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/kern/uipc_mbuf.c#12 (text+ko) ====

@@ -41,7 +41,6 @@
 #include <sys/systm.h>
 #include <sys/kernel.h>
 #include <sys/lock.h>
-#include <sys/mac.h>
 #include <sys/malloc.h>
 #include <sys/mac.h>
 #include <sys/mbuf.h>
@@ -78,11 +77,7 @@
 #if 0
 	KASSERT(to->m_flags & M_PKTHDR,
 	    ("m_copy_pkthdr() called on non-header"));
-#ifdef MAC
-	if (to->m_flags & M_PKTHDR)
-		mac_destroy_mbuf(to);
 #endif
-#endif
 #ifdef MAC
 	if (to->m_flags & M_PKTHDR)
 		mac_destroy_mbuf(to);
@@ -118,9 +113,6 @@
 		mac_destroy_mbuf(m);
 #endif
 		m->m_flags &= ~M_PKTHDR;
-#ifdef MAC
-		mac_destroy_mbuf(m);
-#endif
 	}
 	mn->m_next = m;
 	m = mn;
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