RDMA/cma: Remove local write permission from QP access flags
authorDotan Barak <dotanb@dev.mellanox.co.il>
Tue, 17 Jul 2007 14:58:57 +0000 (17:58 +0300)
committerRoland Dreier <rolandd@cisco.com>
Wed, 18 Jul 2007 03:30:22 +0000 (20:30 -0700)
commit8f076531cd20fbf83ed889024c8133d0c71a1fe4
tree024f0bf6964578d2b8860696f057994f0ec7fd69
parent6d7d080e9f7cd535a8821efd3835c5cfa5223ab6
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 <dotanb@mellanox.co.il>
Acked-by: Sean Hefty <sean.hefty@intel.com>
Acked-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/cma.c