summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2023-11-01 13:01:48 -0700
committerDave Barach <vpp@barachs.net>2023-11-01 22:58:16 +0000
commit7499591bfff975e99ede3a9060abac51395d209a (patch)
tree904ccfa7f0b0e517a17897e20ac92d0eaf407991 /src/vnet
parentea309c46608e3df96771f2d7ef97453e98fece13 (diff)
tcp: allow ooo data in syn-rcvd
As long as ack and segment are legitimate accept ooo data as we transition to established. Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I85cdc65d70cb8ae689a9ce9bbe4f86228b1ac533
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/tcp/tcp_input.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/vnet/tcp/tcp_input.c b/src/vnet/tcp/tcp_input.c
index 932a7ec66ab..5e85f13cbac 100644
--- a/src/vnet/tcp/tcp_input.c
+++ b/src/vnet/tcp/tcp_input.c
@@ -2125,15 +2125,6 @@ tcp46_rcv_process_inline (vlib_main_t *vm, vlib_node_runtime_t *node,
switch (tc->state)
{
case TCP_STATE_SYN_RCVD:
-
- /* Make sure the segment is exactly right */
- if (tc->rcv_nxt != vnet_buffer (b[0])->tcp.seq_number)
- {
- tcp_send_reset_w_pkt (tc, b[0], thread_index, is_ip4);
- error = TCP_ERROR_SEGMENT_INVALID;
- goto drop;
- }
-
/*
* If the segment acknowledgment is not acceptable, form a
* reset segment,