Call sysctl_dumpentry() with shared netlock. It performs read-only
authormvs <mvs@openbsd.org>
Tue, 18 Apr 2023 09:56:54 +0000 (09:56 +0000)
committermvs <mvs@openbsd.org>
Tue, 18 Apr 2023 09:56:54 +0000 (09:56 +0000)
commit7d78a294ceda73681e5959c871ee7745af480f83
tree39a6a3b292bf45aae1c3edffac9aeab91956b34e
parentee49b45a96ff2395cca58faf21a66ac92d8ebd4f
Call sysctl_dumpentry() with shared netlock. It performs read-only
access to netlock protected data. Please note, kernel lock is still
taken, as required by rtable_getsource() or BFD subsystem.

ok kn@ bluhm@
sys/net/rtsock.c