Use solock() instead of netlock within fill_file(). This makes all
authormvs <mvs@openbsd.org>
Thu, 18 Jan 2024 08:48:32 +0000 (08:48 +0000)
committermvs <mvs@openbsd.org>
Thu, 18 Jan 2024 08:48:32 +0000 (08:48 +0000)
commit920715aa193c50705f643ccf834974c8933fb2bb
tree175729af4e1f82e0a20ec3bb63623f066edf9e68
parent4bd216efd5b26d26af55744a25be9205bd2398da
Use solock() instead of netlock within fill_file(). This makes all
socket types protected. The netlock is still used while fill_file()
called through *table.inpt_queue walkthroughs, but this is the inet
sockets case.

ok bluhm
sys/kern/kern_sysctl.c