Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=09f60f8f54c5e2391f0b7c38dccd7b00d83587ab
Commit:     09f60f8f54c5e2391f0b7c38dccd7b00d83587ab
Parent:     0b776eb5426752d4e53354ac89e3710d857e09a7
Author:     Roland Dreier <[EMAIL PROTECTED]>
AuthorDate: Fri Oct 26 13:44:25 2007 -0700
Committer:  Roland Dreier <[EMAIL PROTECTED]>
CommitDate: Fri Oct 26 13:44:25 2007 -0700

    IPoIB/cm: Fix receive QP cleanup
    
    Commit 1b524963 ("IPoIB/cm: Use common CQ for CM send completions")
    changed how the high-order bits of work request IDs were used, which
    had the effect that IPOIB_CM_RX_DRAIN_WRID was no longer handled as a
    connected mode receive completion.  This leads to the messages
    
        ib1: cm send completion event with wrid 1073741823 (> 64)
        ib1: RX drain timing out
    
    when an interface with connected mode QPs is brought down.  Fix this
    by making sure that both IPOIB_OP_CM and IPOIB_OP_RECV are set in
    IPOIB_CM_RX_DRAIN_WRID.
    
    Signed-off-by: Roland Dreier <[EMAIL PROTECTED]>
---
 drivers/infiniband/ulp/ipoib/ipoib_cm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/infiniband/ulp/ipoib/ipoib_cm.c 
b/drivers/infiniband/ulp/ipoib/ipoib_cm.c
index 8761077..059cf92 100644
--- a/drivers/infiniband/ulp/ipoib/ipoib_cm.c
+++ b/drivers/infiniband/ulp/ipoib/ipoib_cm.c
@@ -60,7 +60,7 @@ static struct ib_qp_attr ipoib_cm_err_attr = {
        .qp_state = IB_QPS_ERR
 };
 
-#define IPOIB_CM_RX_DRAIN_WRID 0x7fffffff
+#define IPOIB_CM_RX_DRAIN_WRID 0xffffffff
 
 static struct ib_send_wr ipoib_cm_rx_drain_wr = {
        .wr_id = IPOIB_CM_RX_DRAIN_WRID,
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to