use refcnt API for multicast addresses, add tracepoint:refcnt:ethmulti probe
authorkn <kn@openbsd.org>
Thu, 6 Jul 2023 19:46:53 +0000 (19:46 +0000)
committerkn <kn@openbsd.org>
Thu, 6 Jul 2023 19:46:53 +0000 (19:46 +0000)
commit69761fb125b16d61f88297209c708431fdccb40f
treed26a5fea3dad3bd41cf7deb25cfc708f582a6d20
parent4994896c099347f80ff0769d1c0c9f8e64a37e0d
use refcnt API for multicast addresses, add tracepoint:refcnt:ethmulti probe

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

OK mvs
Feedback OK bluhm
sys/dev/dt/dt_prov_static.c
sys/net/if_ethersubr.c
sys/netinet/if_ether.h
sys/sys/refcnt.h