CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/11/30 08:38:31
Modified files:
sys/netinet : Tag: OPENBSD_7_9 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
from bluhm@; OK mvs@
this is errata/7.9/063_tcpfinwait.patch.sig