]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/cxgb4: Don't re-init wait object in init/fini paths
authorSteve Wise <swise@opengridcomputing.com>
Tue, 11 Jan 2011 01:41:43 +0000 (17:41 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 11 Jan 2011 01:41:43 +0000 (17:41 -0800)
commitd697c7f5aeeaa29300ecdf49029d69cec7cb6f21
tree3d99ca03dee2fe076932821087a6558572f47094
parentcfba8631c5c5e3daf0586c927c8b46bf14419756
RDMA/cxgb4: Don't re-init wait object in init/fini paths

Re-initializing the wait object in rdma_init()/rdma_fini() causes a
timing window which can lead to a deadlock during close.  Once this
deadlock hits, all RDMA activity over the T4 device will be stuck.

There's no need to re-init the wait object, so remove it.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Cc: <stable@kernel.org>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/cxgb4/qp.c