projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b54035
)
RDMA/cxgb3: Stop the EP Timer on BAD CLOSE
author
Steve Wise
<swise@opengridcomputing.com>
Wed, 21 Feb 2007 20:45:39 +0000
(14:45 -0600)
committer
Roland Dreier
<rolandd@cisco.com>
Fri, 23 Feb 2007 21:12:48 +0000
(13:12 -0800)
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>
drivers/infiniband/hw/cxgb3/iwch_cm.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/cxgb3/iwch_cm.c
b/drivers/infiniband/hw/cxgb3/iwch_cm.c
index b9274e1b317075531e09b88cc15004cc6c798191..b21fde8b659d327136bdd02fef1dd67b14eddb36 100644
(file)
--- 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,