From owner-cvs-src@FreeBSD.ORG Fri Jun 11 03:42:37 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C9B4216A4CE; Fri, 11 Jun 2004 03:42:37 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD3B543D49; Fri, 11 Jun 2004 03:42:37 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i5B3gbVa092594; Fri, 11 Jun 2004 03:42:37 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i5B3gbWp092593; Fri, 11 Jun 2004 03:42:37 GMT (envelope-from rwatson) Message-Id: <200406110342.i5B3gbWp092593@repoman.freebsd.org> From: Robert Watson Date: Fri, 11 Jun 2004 03:42:37 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet igmp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jun 2004 03:42:37 -0000 rwatson 2004-06-11 03:42:37 UTC FreeBSD src repository Modified files: sys/netinet igmp.c Log: Lock down parallel router_info list for tracking multicast IGMP versions of various routers seen: - Introduce igmp_mtx. - Protect global variable 'router_info_head' and list fields in struct router_info with this mutex, as well as igmp_timers_are_running. - find_rti() asserts that the caller acquires igmp_mtx. - Annotate a failure to check the return value of MALLOC(..., M_NOWAIT). Revision Changes Path 1.46 +27 -1 src/sys/netinet/igmp.c