CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2025/07/31 03:05:11

Modified files:
        sys/netinet    : ip_input.c ip_var.h 
        sys/netinet6   : in6_proto.c ip6_input.c 
        sys/sys        : sysctl.h 

Log message:
Unlock ip6_sysctl().

Use temporary local buffer for lockless IO within ip6_sysctl_soiikey().
Use existing `sysctl_lock' rwlock(9) to protect `ip6_soiikey'. Also,
replace temporary `ip_sysctl_lock' with `sysctl_lock' rwlock(9). It was
introduced as temporary to avoid recursive lock acquisition in
ip*_sysctl() until upcoming unlocked. The usage paths are not the hot
paths, no reason to have dedicated locks for them.

ok bluhm

Reply via email to