Move rtm_ifannounce(IFAN_DEPARTURE) outside netlock within if_detach().
authormvs <mvs@openbsd.org>
Sat, 8 Apr 2023 13:49:38 +0000 (13:49 +0000)
committermvs <mvs@openbsd.org>
Sat, 8 Apr 2023 13:49:38 +0000 (13:49 +0000)
commitfa0c4e6617f993cc56c1503bd2606152b3a6df75
tree0311e6942af470fac465c15b0f9ca88eae96ecf5
parent5495fe7d45a33beef39db9cb86e5ac55c6e1de58
Move rtm_ifannounce(IFAN_DEPARTURE) outside netlock within if_detach().
This is the mbuf(9) allocation and broadcast transmission for PF_ROUTE
sockets, netlock is not required here.

ok bluhm@
sys/net/if.c