I'm glad you were able to find the `debug zebra kernel` option. Why do we need to handle NLM_F_DUMP_INTR in normal operations? There is no dump commands being given except on startup donald On Fri, Mar 25, 2022 at 1:05 PM Eugene Crosser <crosser@average.org> wrote:
On 25/03/2022 15:38, Eugene Crosser wrote:
It looks like netlink messages NEWROUTE and DELROUTE are never seen by zebra process,
It looks like I was enabling wrong debug options: I see that they are received by the process (with `debug zebra kernel`)
I think that I have something to work with now. Will update when I find what is not working.
By the way one thing that is very probably missing in the zebra code is handling of NLM_F_DUMP_INTR flag in nlhdr. If it is not checked, result of "dump" (bulk read of all routes, for example) will be occasionally inconsistent. Apparently zebra only does that at startup. Still, not a good thing.
Regards
Eugene _______________________________________________ frog mailing list frog@lists.frrouting.org https://lists.frrouting.org/listinfo/frog