Change-Id: I8414c2ed8bda59504330aad5f1a80dfe08dd85de
Signed-off-by: Florin Coras <fcoras@cisco.com>
if (tcp_rcv_ack (wrk, tc0, b0, tcp0, &error0))
goto drop;
+ if (!is_fin0)
+ goto drop;
+
tcp_program_ack (wrk, tc0);
tcp_timer_update (tc0, TCP_TIMER_WAITCLOSE, TCP_TIMEWAIT_TIME);
goto drop;
scoreboard_clear (&tc0->sack_sb);
tcp_fastrecovery_off (tc0);
tcp_recovery_off (tc0);
+ tcp_connection_timers_reset (tc0);
tc0->snd_nxt = tc0->snd_una_max = tc0->snd_una;
}
tcp_send_fin (tc0);