aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Wise <swise@opengridcomputing.com>2007-02-21 15:45:39 -0500
committerRoland Dreier <rolandd@cisco.com>2007-02-23 16:12:48 -0500
commit2f236735fd05259a07a28233dcd07a8a6dddee9b (patch)
treede5ca82d39c0f6e05948507985c3c765f45eb033
parent2b540355cd2f46c5445030995e72c4b4fb2b775e (diff)
RDMA/cxgb3: Stop the EP Timer on BAD CLOSE
Stop the ep timer in ec_status() if the status indicates a bad close. Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
-rw-r--r--drivers/infiniband/hw/cxgb3/iwch_cm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/cxgb3/iwch_cm.c b/drivers/infiniband/hw/cxgb3/iwch_cm.c
index b9274e1b3170..b21fde8b659d 100644
--- a/drivers/infiniband/hw/cxgb3/iwch_cm.c
+++ b/drivers/infiniband/hw/cxgb3/iwch_cm.c
@@ -1634,6 +1634,7 @@ static int ec_status(struct t3cdev *tdev, struct sk_buff *skb, void *ctx)
1634 1634
1635 printk(KERN_ERR MOD "%s BAD CLOSE - Aborting tid %u\n", 1635 printk(KERN_ERR MOD "%s BAD CLOSE - Aborting tid %u\n",
1636 __FUNCTION__, ep->hwtid); 1636 __FUNCTION__, ep->hwtid);
1637 stop_ep_timer(ep);
1637 attrs.next_state = IWCH_QP_STATE_ERROR; 1638 attrs.next_state = IWCH_QP_STATE_ERROR;
1638 iwch_modify_qp(ep->com.qp->rhp, 1639 iwch_modify_qp(ep->com.qp->rhp,
1639 ep->com.qp, IWCH_QP_ATTR_NEXT_STATE, 1640 ep->com.qp, IWCH_QP_ATTR_NEXT_STATE,