From 59b306db83165390c951e4e101497e7185756814 Mon Sep 17 00:00:00 2001 From: rwatson Date: Thu, 28 Dec 2006 21:57:59 +0000 Subject: Remove an inaccurate comment I added regarding storage for mbuf tag labels: they are in fact stored in the tag directly. Obtained from: TrustedBSD Project --- sys/security/mac/mac_net.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'sys/security') diff --git a/sys/security/mac/mac_net.c b/sys/security/mac/mac_net.c index e275a67..49e6664 100644 --- a/sys/security/mac/mac_net.c +++ b/sys/security/mac/mac_net.c @@ -75,13 +75,6 @@ MTX_SYSINIT(mac_ifnet_mtx, &mac_ifnet_mtx, "mac_ifnet", MTX_DEF); #define MAC_IFNET_UNLOCK(ifp) mtx_unlock(&mac_ifnet_mtx) /* - * XXXRW: In order to use the MAC label UMA zone for all label allocations, - * we simply store a pointer to a UMA-allocated label in the mbuf tag. This - * is inefficient and should likely change to using a label embedded in the - * tag. - */ - -/* * Retrieve the label associated with an mbuf by searching for the tag. * Depending on the value of mac_labelmbufs, it's possible that a label will * not be present, in which case NULL is returned. Policies must handle the -- cgit v1.1