1
0
Fork 0

RDMA/cxgb3: Stop EP timer when MPA exchange is aborted by peer

Stop the endpoint timer when the MPA exchange is aborted by the peer.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
hifive-unleashed-5.1
Steve Wise 2007-03-06 14:44:01 -06:00 committed by Roland Dreier
parent 2df50da00e
commit adf376b370
1 changed files with 2 additions and 0 deletions

View File

@ -1487,8 +1487,10 @@ static int peer_abort(struct t3cdev *tdev, struct sk_buff *skb, void *ctx)
case CONNECTING:
break;
case MPA_REQ_WAIT:
stop_ep_timer(ep);
break;
case MPA_REQ_SENT:
stop_ep_timer(ep);
connect_reply_upcall(ep, -ECONNRESET);
break;
case MPA_REP_SENT: