Re: igmp_slowtimo: drop NETLOCK

2018-10-24 Thread Martin Pieuchot
On 19/10/18(Fri) 12:15, Scott Cheloha wrote: > Hi, > > If we introduce a mutex for the igmp module we can drop the NETLOCK > from igmp_slowtimo(). The router_info list, rti_head, and its entries > are only ever accessed within the igmp module. The mutex also needs > to protect igmp_timers_are_ru

igmp_slowtimo: drop NETLOCK

2018-10-19 Thread Scott Cheloha
Hi, If we introduce a mutex for the igmp module we can drop the NETLOCK from igmp_slowtimo(). The router_info list, rti_head, and its entries are only ever accessed within the igmp module. The mutex also needs to protect igmp_timers_are_running. This is largely a monkey-see-monkey-do imitation