summaryrefslogtreecommitdiff
path: root/net/bridge/br_vlan.c
diff options
context:
space:
mode:
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>2015-10-12 22:47:03 +0300
committerDavid S. Miller <davem@davemloft.net>2015-10-13 14:57:54 +0300
commite9c953eff7f0ec69a52cfa87b912ab48902a0314 (patch)
tree3a7b29b6618b2d13ba9be59027ed209dc58dd6d1 /net/bridge/br_vlan.c
parent907b1e6e83ed25d9dece1e55b704581b6c127051 (diff)
downloadlinux-e9c953eff7f0ec69a52cfa87b912ab48902a0314.tar.xz
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>
Diffstat (limited to 'net/bridge/br_vlan.c')
0 files changed, 0 insertions, 0 deletions