RDMA/cm: Remove setting local write as part of QP access flags
authorDotan Barak <dotanb@mellanox.co.il>
Tue, 24 Oct 2006 20:35:27 +0000 (13:35 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 29 Nov 2006 23:33:06 +0000 (15:33 -0800)
commite31353eaeca736981ec13b46089d30147342b28b
tree6f8778e46923c23d39c671b0216f14d64d3979ce
parentbed8bdfddd851657cf9e5fd16bb44abb02ae7f42
RDMA/cm: Remove setting local write as part of QP access flags

The qp_access_flags are for remote access permissions only, so
IB_ACCESS_LOCAL_WRITE is an invalid value.  Remove it from the values
set by cm_init_qp_init_attr() and cma_init_ib_qp().

Signed-off-by: Dotan Barak <dotanb@mellanox.co.il>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/cm.c
drivers/infiniband/core/cma.c