From: Steve Wise <swise@opengridcomputing.com>
To: rdreier@cisco.com
Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
general@lists.openfabrics.org
Subject: [PATCH 2.6.21 3/6] iw_cxgb3: Stop the endpoint timer when the MPA exchange is aborted by the peer.
Date: Thu, 01 Mar 2007 16:50:42 -0600 [thread overview]
Message-ID: <20070301225042.2373.68022.stgit@dell3.ogc.int> (raw)
In-Reply-To: <20070301225036.2373.71668.stgit@dell3.ogc.int>
Stop the endpoint timer when the MPA exchange is aborted by the peer.
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
---
drivers/infiniband/hw/cxgb3/iwch_cm.c | 2 ++
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 1dcfedc..8e6f6df 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 *tde
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:
next prev parent reply other threads:[~2007-03-01 22:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-01 22:50 [PATCH 2.6.21 0/6] iw_cxgb3: Bug Fixes Steve Wise
2007-03-01 22:50 ` [PATCH 2.6.21 1/6] iw_cxgb3: Fixes for "normal close" failures Steve Wise
2007-03-01 22:50 ` [PATCH 2.6.21 2/6] iw_cxgb3: Move QP to error on destroy if the state is IDLE Steve Wise
2007-03-01 22:50 ` Steve Wise [this message]
2007-03-01 22:50 ` [PATCH 2.6.21 4/6] iw_cxgb3: Squelch logging AE errors Steve Wise
2007-03-01 22:50 ` [PATCH 2.6.21 5/6] iw_cxgb3: Don't reuse skbuffs that are non-linear or cloned Steve Wise
2007-03-01 22:50 ` [PATCH 2.6.21 6/6] iw_cxgb3: Fix MR permission problems Steve Wise
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070301225042.2373.68022.stgit@dell3.ogc.int \
--to=swise@opengridcomputing.com \
--cc=general@lists.openfabrics.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=rdreier@cisco.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®