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>
This commit is contained in:
Steve Wise 2010-06-10 19:02:55 +00:00 коммит произвёл Roland Dreier
Родитель f38926aa1d
Коммит b21ef16a8b
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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;