RDMA/cxgb4: Always wake up waiters in c4iw_peer_abort_intr()
authorSteve Wise <swise@opengridcomputing.com>
Fri, 27 Apr 2012 14:59:16 +0000 (09:59 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Jun 2012 07:15:42 +0000 (15:15 +0800)
commit3b86beb67adb9eea10b3391ec3ebf64bdf0053ed
treeecd7a2b802b6fbad05929c7b4426813fcdd292e6
parente10991c98929fe1b47278c0eafe8548a2d09bc86
RDMA/cxgb4: Always wake up waiters in c4iw_peer_abort_intr()

commit 0f1dcfae6bc5563424346ad3a03282b8235a4c33 upstream.

This fixes a race where an ingress abort fails to wake up the thread
blocked in rdma_init() causing the app to hang.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/infiniband/hw/cxgb4/cm.c