diff options
author | Steve Wise <swise@opengridcomputing.com> | 2007-02-21 23:45:39 +0300 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-02-24 00:12:48 +0300 |
commit | 2f236735fd05259a07a28233dcd07a8a6dddee9b (patch) | |
tree | de5ca82d39c0f6e05948507985c3c765f45eb033 /drivers/infiniband | |
parent | 2b540355cd2f46c5445030995e72c4b4fb2b775e (diff) | |
download | linux-2f236735fd05259a07a28233dcd07a8a6dddee9b.tar.xz |
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>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/hw/cxgb3/iwch_cm.c | 1 |
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) printk(KERN_ERR MOD "%s BAD CLOSE - Aborting tid %u\n", __FUNCTION__, ep->hwtid); + stop_ep_timer(ep); attrs.next_state = IWCH_QP_STATE_ERROR; iwch_modify_qp(ep->com.qp->rhp, ep->com.qp, IWCH_QP_ATTR_NEXT_STATE, |