CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2021/11/11 09:35:09

Modified files:
        sys/kern       : uipc_socket.c 

Log message:
Destroy protocol control block before perform `so_q0' and `so_q' queues
cleanup.

The dying socket is already unlinked from the file descriptor layer, but
still accessible from the stack or from the file system layer. We need to
unlink the socket to prevent concurrent connection when we unlocked dying
socket while we perform `so_q0' or `so_q' queues cleanup or while we
perform (*pr_detach)(). This unlocking will be appeared with the upcoming
fine grained locked sockets diffs.

ok bluhm@

Reply via email to