X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Ftcp%2Ftcp_output.c;h=91021e89d8535dfba83d954838ab26b85031cffb;hb=refs%2Fchanges%2F66%2F25366%2F8;hp=5eccda60ad224fa15f5f33c666509e72f413ba89;hpb=47d8f5dcd655f0e01774822fca17dd38e7f557dd;p=vpp.git diff --git a/src/vnet/tcp/tcp_output.c b/src/vnet/tcp/tcp_output.c index 5eccda60ad2..91021e89d85 100644 --- a/src/vnet/tcp/tcp_output.c +++ b/src/vnet/tcp/tcp_output.c @@ -1473,7 +1473,7 @@ tcp_timer_retransmit_handler (tcp_connection_t * tc) session_transport_closing_notify (&tc->connection); session_transport_closed_notify (&tc->connection); tcp_connection_timers_reset (tc); - tcp_timer_update (tc, TCP_TIMER_WAITCLOSE, tcp_cfg.closewait_time); + tcp_program_cleanup (wrk, tc); tcp_workerp_stats_inc (wrk, tr_abort, 1); return; } @@ -1525,7 +1525,7 @@ tcp_timer_retransmit_handler (tcp_connection_t * tc) { tcp_connection_set_state (tc, TCP_STATE_CLOSED); tcp_connection_timers_reset (tc); - tcp_timer_update (tc, TCP_TIMER_WAITCLOSE, tcp_cfg.cleanup_time); + tcp_program_cleanup (wrk, tc); tcp_workerp_stats_inc (wrk, tr_abort, 1); return; }