diff options
author | Dotan Barak <dotanba@gmail.com> | 2008-07-22 23:18:34 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-07-22 23:18:34 +0200 |
commit | 1ca8d15619f725e223c19137350b0336b9196193 (patch) | |
tree | 4fcd3ed14fbe5334d87d13b4108636ca70d3eb62 /drivers | |
parent | IPoIB: Include err code in trace message for ib_sa_path_rec_get() failures (diff) | |
download | linux-1ca8d15619f725e223c19137350b0336b9196193.tar.xz 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')
-rw-r--r-- | drivers/infiniband/core/iwcm.c | 3 |
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; |