Re: [Bridge] [PATCH net] net: bridge: multicast: use rcu to access port list from br_multicast_start_querier

2019-04-11 Thread David Miller
From: Nikolay Aleksandrov Date: Thu, 11 Apr 2019 15:08:25 +0300 > br_multicast_start_querier() walks over the port list but it can be > called from a timer with only multicast_lock held which doesn't protect > the port list, so use RCU to walk over it. > > Fixes: c83b8fab06fc ("bridge: Restart

[Bridge] [PATCH net] net: bridge: multicast: use rcu to access port list from br_multicast_start_querier

2019-04-11 Thread Nikolay Aleksandrov
br_multicast_start_querier() walks over the port list but it can be called from a timer with only multicast_lock held which doesn't protect the port list, so use RCU to walk over it. Fixes: c83b8fab06fc ("bridge: Restart queries when last querier expires") Signed-off-by: Nikolay Aleksandrov ---