Take solock_shared() in soo_stat().
authormvs <mvs@openbsd.org>
Thu, 11 Apr 2024 08:33:37 +0000 (08:33 +0000)
committermvs <mvs@openbsd.org>
Thu, 11 Apr 2024 08:33:37 +0000 (08:33 +0000)
commit510c9557683335cb890c866e0ef31431ca739fa5
tree6717c7d87f07ecbc546db233e414617a2d18c3af
parent02c3cfbc8cef1effb04f9d6806f3b4c472f911af
Take solock_shared() in soo_stat().

Only unix(4) and tcp(4) sockets set (*pru_sence)() handler. The rest of
soo_stat() is the read only access.

ok bluhm
sys/kern/sys_socket.c