Only grab netlock in igmp and mdl6 fast timer when necessary. There
authorbluhm <bluhm@openbsd.org>
Sun, 21 Aug 2022 23:04:45 +0000 (23:04 +0000)
committerbluhm <bluhm@openbsd.org>
Sun, 21 Aug 2022 23:04:45 +0000 (23:04 +0000)
commit148170073102c03b8ea62ff7e69f02107698b431
tree3dd1f858a606aabcd3a76ad1afc9d0ed8fa2f680
parent074c83889e056355db6ecb62d75c7b776603eead
Only grab netlock in igmp and mdl6 fast timer when necessary.  There
are status variables that can be used to avoid locking if timers
are not running.  This should reduce contention on exclusive netlock.
OK kn@ mvs@
sys/netinet/igmp.c
sys/netinet6/mld6.c