From 54102acdd33a82e9e30587840fa37add70eb6a1c Mon Sep 17 00:00:00 2001 From: rwatson Date: Sun, 28 Oct 2007 17:55:57 +0000 Subject: 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 --- sys/security/mac_biba/mac_biba.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'sys/security/mac_biba/mac_biba.c') 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, -- cgit v1.1