From: Steve Wise Date: Tue, 11 Jan 2011 01:41:43 +0000 (-0800) Subject: RDMA/cxgb4: Don't re-init wait object in init/fini paths X-Git-Tag: v2.6.37.1~158 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4c933eaedfbc61f5a5aa1784593c6d95c9d638d;p=pandora-kernel.git 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 Signed-off-by: Roland Dreier Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed