CVSROOT:        /cvs
Module name:    src
Changes by:     v...@cvs.openbsd.org    2021/11/05 23:26:33

Modified files:
        sys/kern       : uipc_socket.c uipc_socket2.c 
        sys/sys        : socketvar.h 

Log message:
Allocate socket and initialize so_lock in one place

This makes witness(4) use a single lock type for tracking so_lock.
Previously, so_lock was covered by two distinct lock types because there
were separate rw_init() initializers in socreate() and sonewconn().

OK kettenis@

Reply via email to