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

Modified files:
        sys/netinet    : tcp_input.c tcp_usrreq.c 

Log message:
Fix FIN_WAIT_2 timeout of closed TCP sockets.

During keep alive timer refactoring at 2025-01-16 I messed up
tcp_keepidle and tcp_keepintvl variables when arming the FIN_WAIT_2
timer.  As a consequence connections in FIN_WAIT_2 without socket
stay for 16 hours instead of 10 minutes.  A peer that never sends
its FIN can exhaust kernel resources this way.  Restore the old
behaviour.

from Acts1631; OK mvs@

Reply via email to