From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Wise Subject: [PATCH 2.6.21] iw_cxgb3: Stop the EP Timer on BAD CLOSE. Date: Wed, 21 Feb 2007 14:45:39 -0600 Message-ID: <1172090739.27101.39.camel@stevo-desktop> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: linux-kernel , netdev@vger.kernel.org, openib-general To: Roland Dreier Return-path: Received: from rrcs-24-153-217-226.sw.biz.rr.com ([24.153.217.226]:44574 "EHLO smtp.opengridcomputing.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932606AbXBUUpk (ORCPT ); Wed, 21 Feb 2007 15:45:40 -0500 Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Stop the ep timer in ec_status() if the status indicates a bad close. Signed-off-by: Steve Wise --- 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 e5442e3..d00e5dd 100644 --- a/drivers/infiniband/hw/cxgb3/iwch_cm.c +++ b/drivers/infiniband/hw/cxgb3/iwch_cm.c @@ -1635,6 +1635,7 @@ static int ec_status(struct t3cdev *tdev 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,