CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2022/08/22 04:37:27
Modified files: sys/netinet : in_pcb.c in_pcb.h raw_ip.c udp_usrreq.c sys/netinet6 : in6_pcb.c raw_ip6.c Log message: Use rwlock per inpcb table to protect notify list. The notify function may sleep, so holding a mutex is not possible. The same list entry and rwlock is used for UDP multicast and raw IP delivery. By adding a write lock, exclusive netlock is no longer necessary for PCB notify and UDP and raw IP input. OK mvs@