Date: Fri, 11 Jun 2004 03:42:37 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet igmp.c Message-ID: <200406110342.i5B3gbWp092593@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406110342.i5B3gbWp092593>
