projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c9749c
)
IB/ipath: Fix local loopback bug when waiting for resources
author
Ralph Campbell
<ralph.campbell@qlogic.com>
Mon, 18 Jun 2007 21:24:38 +0000
(14:24 -0700)
committer
Roland Dreier
<rolandd@cisco.com>
Tue, 10 Jul 2007 03:12:26 +0000
(20:12 -0700)
This patch fixes a minor bug where the wrong QP was checked for a send
work request that should wait for an RNR timeout.
Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_ruc.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/ipath/ipath_ruc.c
b/drivers/infiniband/hw/ipath/ipath_ruc.c
index d9c2a9b15d8686f27ae54e137ecb244ded1b3242..8c5d20a4b5f3a835949ede8a338cc79a2d6df198 100644
(file)
--- a/
drivers/infiniband/hw/ipath/ipath_ruc.c
+++ b/
drivers/infiniband/hw/ipath/ipath_ruc.c
@@
-267,7
+267,7
@@
again:
spin_lock_irqsave(&sqp->s_lock, flags);
if (!(ib_ipath_state_ops[sqp->state] & IPATH_PROCESS_SEND_OK) ||
- qp->s_rnr_timeout) {
+
s
qp->s_rnr_timeout) {
spin_unlock_irqrestore(&sqp->s_lock, flags);
goto done;
}