diff options
author | rwatson <rwatson@FreeBSD.org> | 2006-12-28 21:57:59 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2006-12-28 21:57:59 +0000 |
commit | 59b306db83165390c951e4e101497e7185756814 (patch) | |
tree | 01b75ea1d00c714adb82ffd9ffb551b39d11b764 /sys | |
parent | f1bd87075335e352e754882fde18a44660dc88eb (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/security/mac/mac_net.c | 7 |
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 |