]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1a32418cd2b5523e3b3a577bca1e9c4748bce2f1
tree4f1b15e211a42879b18353b5f2f8c0d164250c7c
parent6022feb32e4025ad8ec572017b76fc2ba1aa7f2c
RDMA/cxgb4: Couple of abort fixes

- 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>
drivers/infiniband/hw/cxgb4/cm.c
drivers/infiniband/hw/cxgb4/qp.c