From 596c45b22211c9af243b624dc037f58c0aa1c302 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Thu, 9 Sep 2021 12:04:17 -0700 Subject: tcp session: initialize sw_if_index at connect time Type: fix Signed-off-by: Florin Coras Change-Id: Id0e67a9ce9c5d8bca2cd7a30493f03a02a46dc46 --- src/vnet/tcp/tcp_input.c | 1 - 1 file changed, 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 1e27b7dcb2e..3d3272c8765 100644 --- a/src/vnet/tcp/tcp_input.c +++ b/src/vnet/tcp/tcp_input.c @@ -1933,7 +1933,6 @@ tcp46_syn_sent_inline (vlib_main_t *vm, vlib_node_runtime_t *node, 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; - new_tc->sw_if_index = vnet_buffer (b[0])->sw_if_index[VLIB_RX]; if (tcp_opts_tstamp (&new_tc->rcv_opts)) { -- cgit 1.2.3-korg