cvs commit: src/sys/netinet igmp.c

Robert Watson rwatson at FreeBSD.org
Fri Jun 11 03:42:37 GMT 2004


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


More information about the cvs-src mailing list