Commit:     8f076531cd20fbf83ed889024c8133d0c71a1fe4
Parent:     6d7d080e9f7cd535a8821efd3835c5cfa5223ab6
Author:     Dotan Barak <[EMAIL PROTECTED]>
AuthorDate: Tue Jul 17 17:58:57 2007 +0300
Committer:  Roland Dreier <[EMAIL PROTECTED]>
CommitDate: Tue Jul 17 20:30:22 2007 -0700

    RDMA/cma: Remove local write permission from QP access flags
    Local write permission makes no sense as part of the QP access flags,
    since the access flags only control what the remote end of the
    connection is allowed to do.  Remove the code in the RDMA CM that
    initializes qp_access_flags with IB_ACCESS_LOCAL_WRITE.
    Signed-off-by: Dotan Barak <[EMAIL PROTECTED]>
    Acked-by: Sean Hefty <[EMAIL PROTECTED]>
    Acked-by: Steve Wise <[EMAIL PROTECTED]>
    Signed-off-by: Roland Dreier <[EMAIL PROTECTED]>
 drivers/infiniband/core/cma.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/infiniband/core/cma.c b/drivers/infiniband/core/cma.c
index 23af7a0..9ffb998 100644
--- a/drivers/infiniband/core/cma.c
+++ b/drivers/infiniband/core/cma.c
@@ -573,7 +573,7 @@ int rdma_init_qp_attr(struct rdma_cm_id *id, struct 
ib_qp_attr *qp_attr,
                if (!id_priv->cm_id.iw) {
-                       qp_attr->qp_access_flags = IB_ACCESS_LOCAL_WRITE;
+                       qp_attr->qp_access_flags = 0;
                        *qp_attr_mask = IB_QP_STATE | IB_QP_ACCESS_FLAGS;
                } else
                        ret = iw_cm_init_qp_attr(id_priv->cm_id.iw, qp_attr,
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

Reply via email to