CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2023/04/05 15:51:47
Modified files: sys/netinet : icmp6.h if_ether.c ip_input.c ip_var.h sys/netinet6 : icmp6.c nd6.c nd6.h Log message: ARP has a sysctl to show the number of packets waiting for an arp response. Implement analog sysctl net.inet6.icmp6.nd6_queued for ND6 to reduce places where mbufs can hide within the kernel. Atomic operations operate on unsigned int. Make the type of total hold queue length consistent. Use atomic load to read the value for the sysctl. This clarifies why no lock around sysctl_rdint() is needed. OK mvs@ kn@