tcp: handle syn-ack in fin-wait-2 in rcv process 82/39682/2
authorFlorin Coras <fcoras@cisco.com>
Sat, 14 Oct 2023 22:22:04 +0000 (15:22 -0700)
committerDave Barach <vpp@barachs.net>
Mon, 16 Oct 2023 20:00:31 +0000 (20:00 +0000)
Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: If74e04498423bed42593e79ec92482421cfda8d2

src/vnet/tcp/tcp_input.c

index 3d8afaa..1602b49 100644 (file)
@@ -3238,6 +3238,8 @@ do {                                                              \
   _(FIN_WAIT_2, TCP_FLAG_RST | TCP_FLAG_ACK, TCP_INPUT_NEXT_RCV_PROCESS,
     TCP_ERROR_NONE);
   _(FIN_WAIT_2, TCP_FLAG_SYN, TCP_INPUT_NEXT_RCV_PROCESS, TCP_ERROR_NONE);
+  _ (FIN_WAIT_2, TCP_FLAG_SYN | TCP_FLAG_ACK, TCP_INPUT_NEXT_RCV_PROCESS,
+     TCP_ERROR_NONE);
   _(CLOSE_WAIT, TCP_FLAG_ACK, TCP_INPUT_NEXT_RCV_PROCESS, TCP_ERROR_NONE);
   _(CLOSE_WAIT, TCP_FLAG_FIN | TCP_FLAG_ACK, TCP_INPUT_NEXT_RCV_PROCESS,
     TCP_ERROR_NONE);