Push solock() down to sogetopt(). It is not required for the most cases.
authormvs <mvs@openbsd.org>
Fri, 27 Jan 2023 21:01:59 +0000 (21:01 +0000)
committermvs <mvs@openbsd.org>
Fri, 27 Jan 2023 21:01:59 +0000 (21:01 +0000)
commit8cb542e3bebc16deadb429964a00cb2fd663d891
treecef6b53fb7d787c42c6d00122113029974cfb464
parent80b1b8fbf93f72f67d383f3fa3bc7fd1e9c2ef17
Push solock() down to sogetopt(). It is not required for the most cases.
Also, some cases could be protected with solock_shared().

ok bluhm@
sys/kern/uipc_socket.c
sys/kern/uipc_syscalls.c