use refcnt API for multicast addresses, add tracepoint:refcnt:ifmaddr probe
authorkn <kn@openbsd.org>
Wed, 28 Jun 2023 11:49:49 +0000 (11:49 +0000)
committerkn <kn@openbsd.org>
Wed, 28 Jun 2023 11:49:49 +0000 (11:49 +0000)
commita409c69c01f3e2e9fc6518562f978b115153426c
treec61d617fd068780ebe8bfe03d8c207d67b9c0a9c
parente846c64dd511bf45601f814ad41223609048f6cd
use refcnt API for multicast addresses, add tracepoint:refcnt:ifmaddr probe

Replace hand-rolled reference counting with refcnt_init(9) and hook it up
with a new dt(4) probe.

OK bluhm mvs
sys/dev/dt/dt_prov_static.c
sys/net/if_var.h
sys/netinet/in.c
sys/netinet6/in6.c
sys/sys/refcnt.h