From: Florin Coras Date: Sat, 14 Oct 2023 22:22:04 +0000 (-0700) Subject: tcp: handle syn-ack in fin-wait-2 in rcv process X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=dcb10ce353316a176b5c1c5475fda5edee588770;p=vpp.git tcp: handle syn-ack in fin-wait-2 in rcv process Type: fix Signed-off-by: Florin Coras Change-Id: If74e04498423bed42593e79ec92482421cfda8d2 (cherry picked from commit 61d63e8323d11240edab44ff714def1c573fc987) --- diff --git a/src/vnet/tcp/tcp_input.c b/src/vnet/tcp/tcp_input.c index 3d8afaaba3d..1602b49b910 100644 --- a/src/vnet/tcp/tcp_input.c +++ b/src/vnet/tcp/tcp_input.c @@ -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);