CVSROOT:        /cvs
Module name:    src
Changes by:     bl...@cvs.openbsd.org   2025/04/29 14:31:42

Modified files:
        sys/netinet    : tcp_input.c tcp_var.h 

Log message:
Remove dead flag from TCP SYN cache.

The TCP SYN cache timer uses SCF_DEAD flag to detect closed listen
socket.  Note that syn_cache_rm() is setting sc_inplisten to NULL
in the same atomic section where SCF_DEAD is set.  Also syn_cache_timer()
uses the SYN cache mutex to check sc_inplisten and SCF_DEAD together.
Eliminate SCF_DEAD and rely on existing pointer to listen socket.

OK mvs@

Reply via email to