aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorAmerigo Wang <[email protected]>2010-03-31 21:30:52 +0000
committerDavid S. Miller <[email protected]>2010-04-01 17:26:01 -0700
commit9e2e61fbf8ad016d24e4af0afff13505f3dd2a2a (patch)
treee469e69cc59b860713ac18227932c017a739564f /tools/perf/util/trace-event-scripting.c
parent6503d96168f891ffa3b70ae6c9698a1a722025a0 (diff)
bonding: fix potential deadlock in bond_uninit()
bond_uninit() is invoked with rtnl_lock held, when it does destroy_workqueue() which will potentially flush all works in this workqueue, if we hold rtnl_lock again in the work function, it will deadlock. So move destroy_workqueue() to destructor where rtnl_lock is not held any more, suggested by Eric. Signed-off-by: WANG Cong <[email protected]> Cc: Jay Vosburgh <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Stephen Hemminger <[email protected]> Cc: Jiri Pirko <[email protected]> Cc: "Eric W. Biederman" <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions