]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 23:14:15 +0000 (15:14 -0800)
commitb4c933eaedfbc61f5a5aa1784593c6d95c9d638d
tree19110407cfeef4465967306c00ce0adad62a633e
parentaa8ccc7fafc1cb21c69e7ac99c097f1a0ef6adc4
RDMA/cxgb4: Don't re-init wait object in init/fini paths

commit db8b10167126d72829653690f57b9c7ca53c4d54 upstream.

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>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/infiniband/hw/cxgb4/qp.c