CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2024/08/16 03:20:35

Modified files:
        sys/kern       : uipc_domain.c 
        sys/netinet    : in_proto.c ip_divert.c 
        sys/netinet6   : in6_proto.c ip6_divert.c 
        sys/sys        : protosw.h 

Log message:
Introduce PR_MPSYSCTL flag to mark mp-safe (*pr_sysctl)() handlers and
unlock both divert_sysctl() and divert6_sysctl(). Unlock them together,
because they are identical and pretty simple:

- DIVERTCTL_RECVSPACE and DIVERTCTL_SENDSPACE - atomically accessed
integers;
- DIVERTCTL_STATS - per-CPU counters;

ok bluhm

Reply via email to