CVSROOT:        /cvs
Module name:    src
Changes by:     clau...@cvs.openbsd.org 2020/09/29 05:48:54

Modified files:
        sys/kern       : uipc_socket.c uipc_syscalls.c 

Log message:
Move the solock() call outside of solisten(). The reason is that the
so_state and splice checks were done without the proper lock which is
incorrect. This is similar to sobind(), soconnect() which also require
the callee to hold the socket lock.
Found by, with and OK mvs@, OK mpi@

Reply via email to