From: Tatyana Nikolova Date: Fri, 5 May 2017 17:05:16 +0000 (-0500) Subject: RDMA/i40iw: Don't set 0-length FULPDU RTR indication control flag X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5a27fec21b70c2c41efbfe30a0fbb0f005b9f7e5;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git RDMA/i40iw: Don't set 0-length FULPDU RTR indication control flag Don't set control flag for 0-length FULPDU (Send) RTR indication in the enhanced MPA Request/Reply frames, because it isn't supported. Signed-off-by: Tatyana Nikolova Signed-off-by: Henry Orosco Signed-off-by: Doug Ledford --- diff --git a/drivers/infiniband/hw/i40iw/i40iw_cm.c b/drivers/infiniband/hw/i40iw/i40iw_cm.c index f3bc01bce483..e8e864fc1883 100644 --- a/drivers/infiniband/hw/i40iw/i40iw_cm.c +++ b/drivers/infiniband/hw/i40iw/i40iw_cm.c @@ -784,7 +784,6 @@ static void i40iw_build_mpa_v2(struct i40iw_cm_node *cm_node, } ctrl_ird |= IETF_PEER_TO_PEER; - ctrl_ird |= IETF_FLPDU_ZERO_LEN; switch (mpa_key) { case MPA_KEY_REQUEST: