CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2024/12/04 15:24:11
Modified files:
sys/netinet : in_proto.c ip_icmp.c
Log message:
Push locking down to icmp_sysctl().
Keep locking only for ICMPCTL_REDIRTIMEOUT case. It is complicated, so
left it as is.
ICMPCTL_STATS loads per-CPU counters into local data, so no locking
required.
`icmpctl_vars' are atomically accessed integers. Except `icmperrppslim'
they are simply booleans, so nothing special required. Used the local
`icmperrppslim_local' variable to load `icmperrppslim' value because it
it could have negative values. claudio@ proposed to always load such
values to local variables, so I want to try this notation.
ok bluhm