aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorSteve Wise <swise@opengridcomputing.com>2007-03-06 15:44:01 -0500
committerRoland Dreier <rolandd@cisco.com>2007-03-06 15:50:49 -0500
commitadf376b3708f6111e87916fae083633c1be2f88f (patch)
treeb1b22d0784cd4070101cb320f02b7ae9a52bdaf9 /drivers/infiniband
parent2df50da00e679439aca08a59cd0b4db484159540 (diff)
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>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/cxgb3/iwch_cm.c2
1 files changed, 2 insertions, 0 deletions
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)
1487 case CONNECTING: 1487 case CONNECTING:
1488 break; 1488 break;
1489 case MPA_REQ_WAIT: 1489 case MPA_REQ_WAIT:
1490 stop_ep_timer(ep);
1490 break; 1491 break;
1491 case MPA_REQ_SENT: 1492 case MPA_REQ_SENT:
1493 stop_ep_timer(ep);
1492 connect_reply_upcall(ep, -ECONNRESET); 1494 connect_reply_upcall(ep, -ECONNRESET);
1493 break; 1495 break;
1494 case MPA_REP_SENT: 1496 case MPA_REP_SENT: