CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2023/05/16 13:36:00

Modified files:
        sys/kern       : uipc_domain.c 
        sys/netinet    : in_proto.c ip_input.c 
        sys/sys        : protosw.h 

Log message:
Introduce temporary PR_MPSYSCTL flag to mark (*pr_sysctl)() handler MP
safe. We have may of them, so use flag instead of pushing kernel lock
within.

Unlock ip_sysctl(). Still take kernel lock within IPCTL_MRTSTATS case.
It looks like `mrtstat' protection is inconsistent, so keep locking as
it was. Since `mrtstat' are counters, it make sense to rework them into
per CPU counters with separate diffs.

Feedback and ok from bluhm@

Reply via email to