On Fri, Jul 22, 2022 at 12:36:04PM +0200, Claudio Jeker wrote: > There is no need to use F_KERNEL to tag routes from the kernel. > All this can be done by priority (RTP_MINE vs anything else). > The conversion is simple in most cases. > > In kr_fib_delete() and kr_fib_change() check if the route is a bgpd owned > route and in that case remove the F_BGPD_INSERTED flag. The original route > is no longer in the FIB and so that flag should be cleared.
Makes sense and reads fine. ok