CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2025/10/24 05:51:49

Modified files:
        sys/netinet6   : icmp6.c in6_proto.c 

Log message:
Unlock ICMPV6CTL_ERRPPSLIMIT case of icmp6_sysctl().

`icmp6errppslim' is the last one of locked `icmpv6ctl_vars'. It is the
integer loaded once within icmp6_ratelimit() which called from two
paths. The first one is icmp6_do_error() which always called in the endo
of error path. The second one is icmp6_redirect_output() where the usage
is similar to already unlocked `ip6_forwarding', except that
icmp6_ratelimit() called only once. So we don't need to cache
`icmp6errppslim' anywhere.

Since icmp6_sysctl() became mp-safe, unlock it too.

ok bluhm.

Reply via email to