CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]   2025/09/16 11:29:35

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

Log message:
Retire TCP flag TF_BLOCKOUTPUT.

Together with socket splicing the flag TF_BLOCKOUTPUT was introduced
in 2011.  It was needed to prevent direct calls from tcp_input()
via sorwakeup() to tcp_output().  Due to unlocking TCP, socket
wakeup always uses a splicing task on a separate thread, so
tcp_output() runs deferred.  Also socket lock prevents that anything
touches this TCP socket concurrently.  TF_BLOCKOUTPUT is not needed
anymore.  This change also prevents some dangling TCP sockets in
CLOSING state after running regress/sys/netinet/tcpthread.

OK florian@

Reply via email to