[PATCH] IB: fix userspace CM deadlock
commitb9ef520f9caf20aba8ac7cb2bbba45b52ff19d53
authorSean Hefty <sean.hefty@intel.com>
Fri, 19 Aug 2005 20:46:34 +0000 (19 13:46 -0700)
committerRoland Dreier <rolandd@cisco.com>
Sat, 27 Aug 2005 03:37:38 +0000 (26 20:37 -0700)
treeb5e81a95dc8a9a099b85af13c476bf35d49ba56c
parent4ce059378c04b40c2e9f658b1c6a2e9078b85c7c
[PATCH] IB: fix userspace CM deadlock

Fix deadlock condition resulting from trying to destroy a cm_id
from the context of a CM thread.  The synchronization around the
ucm context structure is simplified as a result, and some simple
code cleanup is included.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/ucm.c
drivers/infiniband/core/ucm.h