commit | c5b493ce192bd7a4e7bd073b5685aad121eeef82 | [log] [tgz] |
---|---|---|
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | Thu Apr 11 15:08:25 2019 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 11 11:13:51 2019 -0700 |
tree | 8681dcc4d5fb2a31d72d5c3a5f3f5ba9b8a8a757 | |
parent | 9a4dda81f1d377ff98e82f019e07a6f2a1db34f3 [diff] |
net: bridge: multicast: use rcu to access port list from br_multicast_start_querier 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 <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>