Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jul 2002 19:46:44 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 15270 for review
Message-ID:  <200207310246.g6V2kiaf028662@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=15270

Change 15270 by rwatson@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@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207310246.g6V2kiaf028662>