Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit adf376b3 authored by Steve Wise's avatar Steve Wise Committed by Roland Dreier
Browse files

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: default avatarSteve Wise <swise@opengridcomputing.com>
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 2df50da0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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: