CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2020/06/18 08:05:21

Modified files:
        sys/kern       : uipc_socket.c 

Log message:
Compare `so' and `sosp' types just after `sosp' obtaining. We can't splice
sockets from different domains so there is no reason to have locking and memory
allocation in this error path. Also in this case only `so' will be locked by
solock() so we should avoid `sosp' modification.

ok mpi@

Reply via email to