remove IFF_ASSERTGIANT

This commit is contained in:
Bruce M Simpson 2009-04-21 09:43:51 +00:00
parent 4bdf8b4ddf
commit 5def3edcad

View File

@ -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__,