tcp: handle disconnects in rcv-process 35/19935/1 v19.04.2-rc0
authorFlorin Coras <fcoras@cisco.com>
Thu, 23 May 2019 13:19:09 +0000 (06:19 -0700)
committerFlorin Coras <florin.coras@gmail.com>
Mon, 3 Jun 2019 17:07:27 +0000 (17:07 +0000)
Change-Id: I005f96480e81f3e750c18261e78d0e401da7528e
Signed-off-by: Florin Coras <fcoras@cisco.com>
(cherry picked from commit 79fdfd61245a112ff08f5c3bc3fb1afd5db55fb9)

src/vnet/tcp/tcp_input.c

index f838bc5..be85c8b 100644 (file)
@@ -3008,6 +3008,7 @@ tcp46_rcv_process_inline (vlib_main_t * vm, vlib_node_runtime_t * node,
                                              thread_index);
   tcp_inc_counter (rcv_process, TCP_ERROR_MSG_QUEUE_FULL, errors);
   tcp_handle_postponed_dequeues (wrk);
+  tcp_handle_disconnects (wrk);
   vlib_buffer_free (vm, first_buffer, from_frame->n_vectors);
 
   return from_frame->n_vectors;