tcp: handle disconnects in rcv-process 88/19788/2
authorFlorin Coras <[email protected]>
Thu, 23 May 2019 13:14:47 +0000 (06:14 -0700)
committerJohn Lo <[email protected]>
Sat, 25 May 2019 07:28:59 +0000 (07:28 +0000)
Change-Id: I86b025d36aedad2bf4afd6137f5b708677720f0e
Signed-off-by: Florin Coras <[email protected]>
src/vnet/tcp/tcp_input.c

index b345e40..2128843 100644 (file)
@@ -2966,6 +2966,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;