[patch 16/32] IB/ucm: Fix deadlock in cleanup

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: Michael S Tsirkin <[EMAIL PROTECTED]> 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

[patch 16/32] IB/ucm: Fix deadlock in cleanup

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: Michael S Tsirkin [EMAIL PROTECTED] 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