CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2025/05/12 11:21:21
Modified files: sys/netinet : udp_usrreq.c Log message: Unlock UDPCTL_ROOTONLY and UDPCTL_BADDYNAMIC cases of udp_sysctl(). Use temporary buffer to exchange data with the userland. So we need to take exclusive netlock only if we modify values. The shared netlock is still required even if we read values, but it doesn't stop packets processing in the most paths. ok bluhm