From 57b2e4acb1104ac34b1c2e29309e0f5f471b42d7 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Tue, 6 Jul 2021 08:25:36 -0700 Subject: tcp: use main thread pool for half-opens Type: improvement Signed-off-by: Florin Coras Change-Id: I4b3427b966f9ff1ba8895fed7db662d56650f3f5 --- src/vnet/tcp/tcp_input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vnet/tcp/tcp_input.c') diff --git a/src/vnet/tcp/tcp_input.c b/src/vnet/tcp/tcp_input.c index 2ba96a5fe78..1e27b7dcb2e 100644 --- a/src/vnet/tcp/tcp_input.c +++ b/src/vnet/tcp/tcp_input.c @@ -1929,7 +1929,7 @@ tcp46_syn_sent_inline (vlib_main_t *vm, vlib_node_runtime_t *node, /* Valid SYN or SYN-ACK. Move connection from half-open pool to * current thread pool. */ - new_tc = tcp_connection_alloc_w_base (thread_index, tc); + new_tc = tcp_connection_alloc_w_base (thread_index, &tc); new_tc->rcv_nxt = vnet_buffer (b[0])->tcp.seq_end; new_tc->irs = seq; new_tc->timers[TCP_TIMER_RETRANSMIT_SYN] = TCP_TIMER_HANDLE_INVALID; -- cgit 1.2.3-korg