]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/cxgb4: Connect_request_upcall fixes
authorSteve Wise <swise@opengridcomputing.com>
Fri, 21 Mar 2014 15:10:33 +0000 (20:40 +0530)
committerRoland Dreier <roland@purestorage.com>
Mon, 24 Mar 2014 17:07:35 +0000 (10:07 -0700)
commit927deb4d9cf227452241b75812761c2fb610a4e5
tree8a09ceb4e33ad0534c3e1bec64dddcae7e230363
parent857b1893339e8f5ecb73b153f36f9e318de4c241
RDMA/cxgb4: Connect_request_upcall fixes

When processing an MPA Start Request, if the listening endpoint is
DEAD, then abort the connection.

If the IWCM returns an error, then we must abort the connection and
release resources.  Also abort_connection() should not post a CLOSE
event, so clean that up too.

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