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