Remove kernel lock from rtfree(9).
authormvs <mvs@openbsd.org>
Thu, 27 Apr 2023 14:41:09 +0000 (14:41 +0000)
committermvs <mvs@openbsd.org>
Thu, 27 Apr 2023 14:41:09 +0000 (14:41 +0000)
commit2fb6e1296ffa2ee27b6375a79bf615a1e1c62eb3
treeb54d1a048261384f0c11b9b0ce13326add03923d
parent953cd4ef0b0669c6fab53204aa350c11bbccfe82
Remove kernel lock from rtfree(9).

Route timers and route labels protected by corresponding mutexes. `ifa'
uses references counting for protection. rt_mpls_clear() could be called
lockless because this is the last reference of `rt'.

ok bluhm@ kn@
sys/net/route.c