diff options
author | rwatson <rwatson@FreeBSD.org> | 2007-10-28 17:55:57 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2007-10-28 17:55:57 +0000 |
commit | 54102acdd33a82e9e30587840fa37add70eb6a1c (patch) | |
tree | ea9e4b5af6e13229c36a6b366ba45e4eb67ff102 /sys/security/mac_biba | |
parent | 369fd04f480478bfb9d2cb1566ec0189185a020e (diff) | |
download | FreeBSD-src-54102acdd33a82e9e30587840fa37add70eb6a1c.zip FreeBSD-src-54102acdd33a82e9e30587840fa37add70eb6a1c.tar.gz |
Garbage collect mac_mbuf_create_multicast_encap TrustedBSD MAC Framework
entry point, which is no longer required now that we don't support
old-style multicast tunnels. This removes the last mbuf object class
entry point that isn't init/copy/destroy.
Obtained from: TrustedBSD Project
Diffstat (limited to 'sys/security/mac_biba')
-rw-r--r-- | sys/security/mac_biba/mac_biba.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sys/security/mac_biba/mac_biba.c b/sys/security/mac_biba/mac_biba.c index 5702c01..72f9745 100644 --- a/sys/security/mac_biba/mac_biba.c +++ b/sys/security/mac_biba/mac_biba.c @@ -1291,19 +1291,6 @@ biba_ifnet_create_mbuf(struct ifnet *ifp, struct label *ifplabel, biba_copy_effective(source, dest); } -static void -biba_mbuf_create_multicast_encap(struct mbuf *m, struct label *mlabel, - struct ifnet *ifp, struct label *ifplabel, struct mbuf *mnew, - struct label *mnewlabel) -{ - struct mac_biba *source, *dest; - - source = SLOT(mlabel); - dest = SLOT(mnewlabel); - - biba_copy_effective(source, dest); -} - static int biba_ipq_match(struct mbuf *m, struct label *mlabel, struct ipq *ipq, struct label *ipqlabel) @@ -3367,7 +3354,6 @@ static struct mac_policy_ops mac_biba_ops = .mpo_inpcb_create_mbuf = biba_inpcb_create_mbuf, .mpo_bpfdesc_create_mbuf = biba_bpfdesc_create_mbuf, .mpo_ifnet_create_mbuf = biba_ifnet_create_mbuf, - .mpo_mbuf_create_multicast_encap = biba_mbuf_create_multicast_encap, .mpo_ipq_match = biba_ipq_match, .mpo_ifnet_relabel = biba_ifnet_relabel, .mpo_ipq_update = biba_ipq_update, |