summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorDotan Barak <dotanba@gmail.com>2008-07-22 14:18:34 -0700
committerRoland Dreier <rolandd@cisco.com>2008-07-22 14:18:34 -0700
commit1ca8d15619f725e223c19137350b0336b9196193 (patch)
tree4fcd3ed14fbe5334d87d13b4108636ca70d3eb62 /drivers/infiniband
parent01b3fc8b15432f7931e40fe099839e1559fb0e09 (diff)
downloadtalos-obmc-linux-1ca8d15619f725e223c19137350b0336b9196193.tar.gz
talos-obmc-linux-1ca8d15619f725e223c19137350b0336b9196193.zip
RDMA/iwcm: Remove IB_ACCESS_LOCAL_WRITE from remote QP attributes
Remove IB_ACCESS_LOCAL_WRITE from qp.qp_access_flags because this attribute is only used to set remote permissions. Signed-off-by: Dotan Barak <dotanba@gmail.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/core/iwcm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/infiniband/core/iwcm.c b/drivers/infiniband/core/iwcm.c
index 81c9195b512a..8f9509e1ebf7 100644
--- a/drivers/infiniband/core/iwcm.c
+++ b/drivers/infiniband/core/iwcm.c
@@ -942,8 +942,7 @@ static int iwcm_init_qp_init_attr(struct iwcm_id_private *cm_id_priv,
case IW_CM_STATE_CONN_RECV:
case IW_CM_STATE_ESTABLISHED:
*qp_attr_mask = IB_QP_STATE | IB_QP_ACCESS_FLAGS;
- qp_attr->qp_access_flags = IB_ACCESS_LOCAL_WRITE |
- IB_ACCESS_REMOTE_WRITE|
+ qp_attr->qp_access_flags = IB_ACCESS_REMOTE_WRITE|
IB_ACCESS_REMOTE_READ;
ret = 0;
break;
OpenPOWER on IntegriCloud