Michael S. Tsirkin f469b2626f IB/ucm: Fix deadlock in cleanup
ib_ucm_cleanup_events() holds file_mutex while calling ib_destroy_cm_id().
This can deadlock since ib_destroy_cm_id() flushes event handlers, and
ib_ucm_event_handler() needs file_mutex, too.  Therefore, drop the
file_mutex during the call to ib_destroy_cm_id().

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2006-11-29 15:33:10 -08:00
..
2006-11-29 15:33:09 -08:00
2005-10-29 10:35:07 -07:00
2006-09-22 15:22:47 -07:00
2005-10-20 12:29:36 -07:00
2006-09-22 15:22:46 -07:00
2006-09-22 15:22:46 -07:00
2006-09-22 15:22:47 -07:00
2006-09-22 15:22:53 -07:00
2006-09-22 15:22:47 -07:00
2006-09-22 15:22:47 -07:00
2006-11-29 15:33:10 -08:00
2006-09-22 15:22:47 -07:00
2006-09-22 15:22:47 -07:00