summaryrefslogtreecommitdiffstats
path: root/sys/security
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2006-12-28 21:57:59 +0000
committerrwatson <rwatson@FreeBSD.org>2006-12-28 21:57:59 +0000
commit59b306db83165390c951e4e101497e7185756814 (patch)
tree01b75ea1d00c714adb82ffd9ffb551b39d11b764 /sys/security
parentf1bd87075335e352e754882fde18a44660dc88eb (diff)
downloadFreeBSD-src-59b306db83165390c951e4e101497e7185756814.zip
FreeBSD-src-59b306db83165390c951e4e101497e7185756814.tar.gz
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
Diffstat (limited to 'sys/security')
-rw-r--r--sys/security/mac/mac_net.c7
1 files changed, 0 insertions, 7 deletions
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
OpenPOWER on IntegriCloud