CVSROOT:        /cvs
Module name:    src
Changes by:     clau...@cvs.openbsd.org 2022/06/06 08:45:41

Modified files:
        sys/kern       : sys_socket.c uipc_socket.c uipc_socket2.c 
                         uipc_syscalls.c uipc_usrreq.c 
        sys/miscfs/fifofs: fifo_vnops.c 
        sys/net        : if_pflow.c if_vxlan.c if_wg.c pfkeyv2.c 
                         rtsock.c 
        sys/netinet    : in_pcb.c 
        sys/nfs        : krpc_subr.c nfs_socket.c nfs_syscalls.c 
        sys/sys        : socketvar.h 

Log message:
Simplify solock() and sounlock(). There is no reason to return a value
for the lock operation and to pass a value to the unlock operation.
sofree() still needs an extra flag to know if sounlock() should be called
or not. But sofree() is called less often and mostly without keeping the lock.
OK mpi@ mvs@

Reply via email to