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/mac_net.c | |
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/mac_net.c')
-rw-r--r-- | sys/security/mac/mac_net.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/sys/security/mac/mac_net.c b/sys/security/mac/mac_net.c index c451a29..0b4ec4e 100644 --- a/sys/security/mac/mac_net.c +++ b/sys/security/mac/mac_net.c @@ -319,21 +319,6 @@ mac_ifnet_create_mbuf(struct ifnet *ifp, struct mbuf *m) MAC_IFNET_UNLOCK(ifp); } -void -mac_mbuf_create_multicast_encap(struct mbuf *m, struct ifnet *ifp, - struct mbuf *mnew) -{ - struct label *mlabel, *mnewlabel; - - mlabel = mac_mbuf_to_label(m); - mnewlabel = mac_mbuf_to_label(mnew); - - MAC_IFNET_LOCK(ifp); - MAC_PERFORM(mbuf_create_multicast_encap, m, mlabel, ifp, - ifp->if_label, mnew, mnewlabel); - MAC_IFNET_UNLOCK(ifp); -} - int mac_bpfdesc_check_receive(struct bpf_d *d, struct ifnet *ifp) { |