From owner-svn-src-all@FreeBSD.ORG Tue Apr 21 09:43:51 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2461106564A; Tue, 21 Apr 2009 09:43:51 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C0D298FC18; Tue, 21 Apr 2009 09:43:51 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n3L9hpoV078252; Tue, 21 Apr 2009 09:43:51 GMT (envelope-from bms@svn.freebsd.org) Received: (from bms@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n3L9hp4n078251; Tue, 21 Apr 2009 09:43:51 GMT (envelope-from bms@svn.freebsd.org) Message-Id: <200904210943.n3L9hp4n078251@svn.freebsd.org> From: Bruce M Simpson Date: Tue, 21 Apr 2009 09:43:51 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r191348 - head/sys/netinet X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Apr 2009 09:43:52 -0000 Author: bms Date: Tue Apr 21 09:43:51 2009 New Revision: 191348 URL: http://svn.freebsd.org/changeset/base/191348 Log: remove IFF_ASSERTGIANT Modified: head/sys/netinet/in_mcast.c Modified: head/sys/netinet/in_mcast.c ============================================================================== --- head/sys/netinet/in_mcast.c Tue Apr 21 07:22:12 2009 (r191347) +++ head/sys/netinet/in_mcast.c Tue Apr 21 09:43:51 2009 (r191348) @@ -399,9 +399,6 @@ in_getmulti(struct ifnet *ifp, const str 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 *in 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__,