udp: buffer packets for connections in accepting state 73/39473/3
authorFlorin Coras <fcoras@cisco.com>
Sat, 2 Sep 2023 00:19:33 +0000 (17:19 -0700)
committerDave Barach <vpp@barachs.net>
Mon, 4 Sep 2023 18:33:41 +0000 (18:33 +0000)
Type: fix
Fixes: 0242d30

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

src/vnet/udp/udp_input.c

index 33ee2cd..66f6229 100644 (file)
@@ -284,7 +284,8 @@ udp46_input_inline (vlib_main_t * vm, vlib_node_runtime_t * node,
          udp_connection_enqueue (uc0, s0, &hdr0, thread_index, b[0],
                                  queue_event, &error0);
        }
-      else if (s0->session_state == SESSION_STATE_READY)
+      else if (s0->session_state == SESSION_STATE_READY ||
+              s0->session_state == SESSION_STATE_ACCEPTING)
        {
          uc0 = udp_connection_from_transport (session_get_transport (s0));
          udp_connection_enqueue (uc0, s0, &hdr0, thread_index, b[0], 1,