aboutsummaryrefslogtreecommitdiff
path: root/sys/security/mac_lomac/mac_lomac.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2007-10-28 17:55:57 +0000
committerRobert Watson <rwatson@FreeBSD.org>2007-10-28 17:55:57 +0000
commit2a9e17ce8e0e9ac0c0e105a3495b919a9182694b (patch)
treeea9e4b5af6e13229c36a6b366ba45e4eb67ff102 /sys/security/mac_lomac/mac_lomac.c
parenta13e21f7bc3447d96847cca8b01858d341489b26 (diff)
downloadsrc-2a9e17ce8e0e9ac0c0e105a3495b919a9182694b.tar.gz
src-2a9e17ce8e0e9ac0c0e105a3495b919a9182694b.zip
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
Notes
Notes: svn path=/head/; revision=173108
Diffstat (limited to 'sys/security/mac_lomac/mac_lomac.c')
-rw-r--r--sys/security/mac_lomac/mac_lomac.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/sys/security/mac_lomac/mac_lomac.c b/sys/security/mac_lomac/mac_lomac.c
index 796badcecc76..6ee206a7ac43 100644
--- a/sys/security/mac_lomac/mac_lomac.c
+++ b/sys/security/mac_lomac/mac_lomac.c
@@ -1355,19 +1355,6 @@ lomac_ifnet_create_mbuf(struct ifnet *ifp, struct label *ifplabel,
lomac_copy_single(source, dest);
}
-static void
-lomac_mbuf_create_multicast_encap(struct mbuf *m, struct label *mlabel,
- struct ifnet *ifp, struct label *ifplabel, struct mbuf *mnew,
- struct label *mnewlabel)
-{
- struct mac_lomac *source, *dest;
-
- source = SLOT(mlabel);
- dest = SLOT(mnewlabel);
-
- lomac_copy_single(source, dest);
-}
-
static int
lomac_ipq_match(struct mbuf *m, struct label *mlabel, struct ipq *ipq,
struct label *ipqlabel)
@@ -2925,7 +2912,6 @@ static struct mac_policy_ops lomac_ops =
.mpo_inpcb_create_mbuf = lomac_inpcb_create_mbuf,
.mpo_bpfdesc_create_mbuf = lomac_bpfdesc_create_mbuf,
.mpo_ifnet_create_mbuf = lomac_ifnet_create_mbuf,
- .mpo_mbuf_create_multicast_encap = lomac_mbuf_create_multicast_encap,
.mpo_ipq_match = lomac_ipq_match,
.mpo_ifnet_relabel = lomac_ifnet_relabel,
.mpo_ipq_update = lomac_ipq_update,