summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Wise <swise@opengridcomputing.com>2010-06-10 19:02:55 (GMT)
committerRoland Dreier <rolandd@cisco.com>2010-07-06 21:02:54 (GMT)
commitb21ef16a8b956aee2fb3d7fc9d24a0b4dae2ae72 (patch)
tree0c0c7414c3ad1fa70f893eb99519658a28e49b61
parentf38926aa1dc5fbf7dfc5f97a53377b2e796dedc3 (diff)
downloadlinux-fsl-qoriq-b21ef16a8b956aee2fb3d7fc9d24a0b4dae2ae72.tar.xz
RDMA/cxgb4: Don't call abort_connection() for active connect failures
Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
-rw-r--r--drivers/infiniband/hw/cxgb4/cm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/cxgb4/cm.c b/drivers/infiniband/hw/cxgb4/cm.c
index 30ce0a8..3e15a07 100644
--- a/drivers/infiniband/hw/cxgb4/cm.c
+++ b/drivers/infiniband/hw/cxgb4/cm.c
@@ -969,7 +969,8 @@ static void process_mpa_reply(struct c4iw_ep *ep, struct sk_buff *skb)
goto err;
goto out;
err:
- abort_connection(ep, skb, GFP_KERNEL);
+ state_set(&ep->com, ABORTING);
+ send_abort(ep, skb, GFP_KERNEL);
out:
connect_reply_upcall(ep, err);
return;