diff options
author | bms <bms@FreeBSD.org> | 2009-04-21 09:43:51 +0000 |
---|---|---|
committer | bms <bms@FreeBSD.org> | 2009-04-21 09:43:51 +0000 |
commit | 424b3895c748ff614271b486ca69dd9fd8ec49b5 (patch) | |
tree | 1aa839343fa85aec1a243eba2f599d371453004b /sys/netinet | |
parent | f3ebb72e3d87a8186971103a5599bd6a4dccb922 (diff) | |
download | FreeBSD-src-424b3895c748ff614271b486ca69dd9fd8ec49b5.zip FreeBSD-src-424b3895c748ff614271b486ca69dd9fd8ec49b5.tar.gz |
remove IFF_ASSERTGIANT
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/in_mcast.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/netinet/in_mcast.c b/sys/netinet/in_mcast.c index 9c04916..f076f14 100644 --- a/sys/netinet/in_mcast.c +++ b/sys/netinet/in_mcast.c @@ -399,9 +399,6 @@ in_getmulti(struct ifnet *ifp, const struct in_addr *group, struct in_multi *inm; int error; -#if defined(INVARIANTS) && defined(IFF_ASSERTGIANT) - IFF_ASSERTGIANT(ifp); -#endif IN_MULTI_LOCK_ASSERT(); ii = (struct in_ifinfo *)ifp->if_afdata[AF_INET]; @@ -511,11 +508,6 @@ inm_release_locked(struct in_multi *inm) { struct ifmultiaddr *ifma; -#if defined(INVARIANTS) && defined(IFF_ASSERTGIANT) - if (!inm_is_ifp_detached(inm)) - IFF_ASSERTGIANT(ifp); -#endif - IN_MULTI_LOCK_ASSERT(); CTR2(KTR_IGMPV3, "%s: refcount is %d", __func__, inm->inm_refcount); @@ -1220,11 +1212,6 @@ in_leavegroup_locked(struct in_multi *inm, /*const*/ struct in_mfilter *imf) error = 0; -#if defined(INVARIANTS) && defined(IFF_ASSERTGIANT) - if (!inm_is_ifp_detached(inm)) - IFF_ASSERTGIANT(inm->inm_ifp); -#endif - IN_MULTI_LOCK_ASSERT(); CTR5(KTR_IGMPV3, "%s: leave inm %p, %s/%s, imf %p", __func__, |