CVSROOT:        /cvs
Module name:    src
Changes by:     bl...@cvs.openbsd.org   2025/03/17 16:56:28

Modified files:
        sys/kern       : uipc_socket.c 

Log message:
Use shared net lock when calling shutdown(2) on internet socket.

In soshutdown() grab shared instead of exclusive net lock.  TCP
uses per socket lock for struct tcpcb.  tcp_usrclosed(), tcp_close(),
soisdisconnected() are already MP safe.  All other internet protocols
call only socantsendmore().

OK mvs@

Reply via email to