Call sysctl_iflist() with shared netlock. It performs read-only access
authormvs <mvs@openbsd.org>
Tue, 18 Apr 2023 09:55:34 +0000 (09:55 +0000)
committermvs <mvs@openbsd.org>
Tue, 18 Apr 2023 09:55:34 +0000 (09:55 +0000)
commitee49b45a96ff2395cca58faf21a66ac92d8ebd4f
tree11c4d1dba179b6988c27ccba2e4b72f888bfcc53
parent426f70c7d11e62c45d44825de1f927423056d746
Call sysctl_iflist() with shared netlock. It performs read-only access
to netlock protected data.

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