RDMA/cxgb4: Don't call abort_connection() for active connect failures
authorSteve Wise <swise@opengridcomputing.com>
Thu, 10 Jun 2010 19:02:55 +0000 (19:02 +0000)
committerRoland Dreier <rolandd@cisco.com>
Tue, 6 Jul 2010 21:02:54 +0000 (14:02 -0700)
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/cxgb4/cm.c

index 30ce0a8eca095bfda0d570233143d2955763892d..3e15a0716702e79060e264d4e15afebcb4f0454a 100644 (file)
@@ -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;