commit | e9c953eff7f0ec69a52cfa87b912ab48902a0314 | [log] [tgz] |
---|---|---|
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | Mon Oct 12 21:47:03 2015 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Oct 13 04:57:54 2015 -0700 |
tree | 3a7b29b6618b2d13ba9be59027ed209dc58dd6d1 | |
parent | 907b1e6e83ed25d9dece1e55b704581b6c127051 [diff] |
bridge: vlan: use rcu for vlan_list traversal in br_fill_ifinfo br_fill_ifinfo is called by br_ifinfo_notify which can be called from many contexts with different locks held, sometimes it relies upon bridge's spinlock only which is a problem for the vlan code, so use explicitly rcu for that to avoid problems. Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>