CVSROOT: /cvs Module name: src Changes by: [email protected] 2025/11/04 13:03:03
Modified files:
sys/net : rtsock.c
Log message:
Move copyout() out of netlock within sysctl_ifnames().
Bump reference counter and link desired interface descriptors into
temporary `if_tmplist' while holding shared netlock. This temporary
list is protected by `if_tmplist_lock' rwlock so release of the
netlock is fine. Do copyout() while holding `if_tmplist_lock' and
then tear down temporary list.
ok bluhm
