]> git.karo-electronics.de Git - karo-tx-linux.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)
commitbe13b2dff8c4e41846477b22cc5c164ea5a6ac2e
tree8a09ceb4e33ad0534c3e1bec64dddcae7e230363
parent70b9c66053ecadde421658b8ec808c981f2eef11
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