diff options
author | Andrey Vagin <[email protected]> | 2011-11-10 05:48:03 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2011-11-14 00:38:53 -0500 |
commit | ef5e0d8237287db3a12d84f08fb2483d7a30a943 (patch) | |
tree | 788e6c6546b4e3af7b01e0863ef4f2d8808e50ef /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 731abb9cb27aef6013ce60808a04e04a545f3f4e (diff) |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions