From: Tatyana Nikolova Date: Fri, 5 May 2017 17:05:17 +0000 (-0500) Subject: RDMA/i40iw: ACK MPA Reject frame X-Git-Tag: v4.14-rc1~242^2~129 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b117f4796306a750ec1ffb928acc5f55bdb1fc7b;p=platform%2Fkernel%2Flinux-rpi.git RDMA/i40iw: ACK MPA Reject frame Explicitly ACK the MPA Reject frame so the peer does not retransmit the frame. 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 e8e864f..6ae98aa 100644 --- a/drivers/infiniband/hw/i40iw/i40iw_cm.c +++ b/drivers/infiniband/hw/i40iw/i40iw_cm.c @@ -2445,8 +2445,8 @@ static void i40iw_handle_rcv_mpa(struct i40iw_cm_node *cm_node, } else { type = I40IW_CM_EVENT_CONNECTED; cm_node->state = I40IW_CM_STATE_OFFLOADED; - i40iw_send_ack(cm_node); } + i40iw_send_ack(cm_node); break; default: pr_err("%s wrong cm_node state =%d\n", __func__, cm_node->state);