tcp: handle disconnects in rcv-process 89/19789/2
authorFlorin Coras <fcoras@cisco.com>
Thu, 23 May 2019 13:19:09 +0000 (06:19 -0700)
committerJohn Lo <loj@cisco.com>
Mon, 27 May 2019 00:08:42 +0000 (00:08 +0000)
Change-Id: I005f96480e81f3e750c18261e78d0e401da7528e
Signed-off-by: Florin Coras <fcoras@cisco.com>
src/vnet/tcp/tcp_input.c

index 3d40c06..1420e32 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;