]> git.baikalelectronics.ru Git - kernel.git/commitdiff
RDMA/nes: ACK MPA Reply frame
authorTatyana Nikolova <Tatyana.E.Nikolova@intel.com>
Wed, 10 May 2017 21:46:40 +0000 (16:46 -0500)
committerDoug Ledford <dledford@redhat.com>
Thu, 1 Jun 2017 21:01:24 +0000 (17:01 -0400)
Explicitly ACK the MPA Reply frame so the peer
does not retransmit the frame.

Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/nes/nes_cm.c

index 06a55f6fb7086c6143c3f3833e86623fb47d73f7..30b256a2c54ec42dd97b29ff0f0cb15be6d44510 100644 (file)
@@ -1825,7 +1825,7 @@ static void handle_rcv_mpa(struct nes_cm_node *cm_node, struct sk_buff *skb)
                        type = NES_CM_EVENT_CONNECTED;
                        cm_node->state = NES_CM_STATE_TSA;
                }
-
+               send_ack(cm_node, NULL);
                break;
        default:
                WARN_ON(1);