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_mls | |
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_mls')
-rw-r--r-- | sys/security/mac_mls/mac_mls.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sys/security/mac_mls/mac_mls.c b/sys/security/mac_mls/mac_mls.c index 701eb6d..8ead381 100644 --- a/sys/security/mac_mls/mac_mls.c +++ b/sys/security/mac_mls/mac_mls.c @@ -1213,19 +1213,6 @@ mls_ifnet_create_mbuf(struct ifnet *ifp, struct label *ifplabel, mls_copy_effective(source, dest); } -static void -mls_mbuf_create_multicast_encap(struct mbuf *m, struct label *mlabel, - struct ifnet *ifp, struct label *ifplabel, struct mbuf *mnew, - struct label *mnewlabel) -{ - struct mac_mls *source, *dest; - - source = SLOT(mlabel); - dest = SLOT(mnewlabel); - - mls_copy_effective(source, dest); -} - static int mls_ipq_match(struct mbuf *m, struct label *mlabel, struct ipq *ipq, struct label *ipqlabel) @@ -2994,7 +2981,6 @@ static struct mac_policy_ops mls_ops = .mpo_inpcb_create_mbuf = mls_inpcb_create_mbuf, .mpo_bpfdesc_create_mbuf = mls_bpfdesc_create_mbuf, .mpo_ifnet_create_mbuf = mls_ifnet_create_mbuf, - .mpo_mbuf_create_multicast_encap = mls_mbuf_create_multicast_encap, .mpo_ipq_match = mls_ipq_match, .mpo_ifnet_relabel = mls_ifnet_relabel, .mpo_ipq_update = mls_ipq_update, |