The elog track, if enabled, must be initalized before synack is sent.
Type: fix
Signed-off-by: Ivan Shvedunov <ivan4th@gmail.com>
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I0c585f466c9a5cbc13af971ae4951b93f9913c5f
child->tx_fifo_size = transport_tx_fifo_size (&child->connection);
- tcp_send_synack (child);
-
+ /* This initializes elog track, must be done before synack */
TCP_EVT (TCP_EVT_SYN_RCVD, child, 1);
+ tcp_send_synack (child);
+
done:
if (PREDICT_FALSE (b->flags & VLIB_BUFFER_IS_TRACED))