diff options
author | Florin Coras <fcoras@cisco.com> | 2021-09-09 12:04:17 -0700 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-09-13 13:39:18 +0000 |
commit | 596c45b22211c9af243b624dc037f58c0aa1c302 (patch) | |
tree | 544b30c173bfe2297e41cc6f2ad7a545342d039c /src/vnet/tcp/tcp_input.c | |
parent | db79ac0502f3a2ecc20d4fa2e9f9be20bfb8e18c (diff) |
tcp session: initialize sw_if_index at connect time
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Id0e67a9ce9c5d8bca2cd7a30493f03a02a46dc46
Diffstat (limited to 'src/vnet/tcp/tcp_input.c')
-rw-r--r-- | src/vnet/tcp/tcp_input.c | 1 |
1 files changed, 0 insertions, 1 deletions
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)) { |