CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]   2026/11/30 14:04:34

Modified files:
        sys/netinet    : tcp_timer.c 

Log message:
Limit TCP FIN_WAIT_2 state after close(2) to the idle timeout.

When the socket has no file descriptor anymore, the TCPT_2MSL timer
in FIN_WAIT_2 state was rearmed as long as the peer kept sending
segments.  Empty ACKs within the idle timeout, 10 minutes by default,
could keep the connection alive forever.  Without file descriptor
no data can be received anyway, so drop the connection when the
timer expires for the first time.  Later segments from the peer are
answered with a reset.

from Acts1631; OK mvs@

Reply via email to