RDMA/cxgb4: Couple of abort fixes
authorSteve Wise <swise@opengridcomputing.com>
Tue, 14 Jun 2011 20:59:27 +0000 (20:59 +0000)
committerRoland Dreier <roland@purestorage.com>
Fri, 17 Jun 2011 18:54:56 +0000 (11:54 -0700)
- fix a race where the driver could end up sending a close_con_req
  after an abort_rpl.  In c4iw_ep_disconnect(), send abort or close
  request with the ep mutex held.

- fix a hang where driver fails to wake up when a connection is reset
  during a normal close.  Wake up any waiters in the interrupt path,
  and correctly cleanup after rdma_fini() failures.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>

No differences found