Retire the F_KERNEL flag, it got superseded by route priority and RTP_MINE.
authorclaudio <claudio@openbsd.org>
Fri, 22 Jul 2022 11:17:48 +0000 (11:17 +0000)
committerclaudio <claudio@openbsd.org>
Fri, 22 Jul 2022 11:17:48 +0000 (11:17 +0000)
commitdf2875e41e6107b6cab4a4ee6ac1dd2add42460e
tree91ed2c9d800056ffde0f5e4e157d07e197726096
parentaed4bff2981dd78e6100a9393ed20cc0d7cf544c
Retire the F_KERNEL flag, it got superseded by route priority and RTP_MINE.

Only problem is when route(8) is used to modify/delete a bgpd owned route.
Exact behaviour for that is still a bit unclear but F_KERNEL does not help
in this case either. In the kr_fib_delete/change remove F_BGPD_INSERTED
in that case as a first step.
OK tb@
usr.sbin/bgpd/bgpd.c
usr.sbin/bgpd/bgpd.h
usr.sbin/bgpd/kroute.c
usr.sbin/bgpd/rde.c