Move nd6_ifdetach() out of netlock. In this point, the interface is
authormvs <mvs@openbsd.org>
Mon, 12 Jun 2023 21:19:54 +0000 (21:19 +0000)
committermvs <mvs@openbsd.org>
Mon, 12 Jun 2023 21:19:54 +0000 (21:19 +0000)
commit86c3cfc03bf64a795f46bcbd96fc0a1a8990d24d
treeafe7e95ae9136e9640aa748aaa587479132cf1f8
parentfafd6c403a36917c7f5b9d673e2a068bbde9f169
Move nd6_ifdetach() out of netlock. In this point, the interface is
disconnected from everywhere. No need to hold netlock for dummy
'nd_ifinfo' release. Netlock is also not needed for
TAILQ_EMPTY(&ifp->if_*hooks) assertions.

ok kn bluhm
sys/net/if.c