aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vnet/tcp/tcp_input.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/vnet/tcp/tcp_input.c b/src/vnet/tcp/tcp_input.c
index bdaa28ec3d0..b8c889ee1cc 100644
--- a/src/vnet/tcp/tcp_input.c
+++ b/src/vnet/tcp/tcp_input.c
@@ -2640,10 +2640,11 @@ tcp46_listen_inline (vlib_main_t * vm, vlib_node_runtime_t * node,
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))