Try to be more precise with rtlabelid tracking.
authorclaudio <claudio@openbsd.org>
Tue, 7 Jun 2022 16:42:07 +0000 (16:42 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 7 Jun 2022 16:42:07 +0000 (16:42 +0000)
commit0d9d5b2291da2602e509e587b2ada053e1fec393
tree73d0326dc0515cc1b64b4f32bafe64caeb4ec421
parent592d2be7c31bd305bc5aaa0f0aa10d15bd13faf9
Try to be more precise with rtlabelid tracking.

By moving the rtlabel_unref into kroute_remove the unref is more reliable.
There are still places where handling is not quite right but it is a step
in the right direction.
OK tb@
usr.sbin/bgpd/kroute.c