Home
last modified time | relevance | path

Searched hist:ef5e0d8237287db3a12d84f08fb2483d7a30a943 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/bridge/
H A Dbr_multicast.cdiff ef5e0d8237287db3a12d84f08fb2483d7a30a943 Wed Nov 09 23:48:03 CST 2011 Andrey Vagin <avagin@openvz.org> bridge: Fix potential deadlock on br->multicast_lock

multicast_lock is taken in softirq context, so we should use
spin_lock_bh() in userspace.

call-chain in softirq context:
run_timer_softirq()
br_multicast_query_expired()

call-chain in userspace:
sysfs_write_file()
store_multicast_snooping()
br_multicast_toggle()

Signed-off-by: Andrew Vagin <avagin@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>