From: Steve Wise Date: Tue, 6 Mar 2007 20:44:01 +0000 (-0600) Subject: RDMA/cxgb3: Stop EP timer when MPA exchange is aborted by peer X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=adf376b3708f6111e87916fae083633c1be2f88f;p=linux-beck.git 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 Signed-off-by: Roland Dreier --- diff --git a/drivers/infiniband/hw/cxgb3/iwch_cm.c b/drivers/infiniband/hw/cxgb3/iwch_cm.c index 869761fed59b..3cf79ce64bd3 100644 --- a/drivers/infiniband/hw/cxgb3/iwch_cm.c +++ b/drivers/infiniband/hw/cxgb3/iwch_cm.c @@ -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: