]> git.proxmox.com Git - mirror_frr.git/commit
zebra: add flag track released state of proto NHGS
authorStephen Worley <sworley@cumulusnetworks.com>
Wed, 22 Jul 2020 17:45:47 +0000 (13:45 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Mon, 28 Sep 2020 16:41:00 +0000 (12:41 -0400)
commit8155e8c592199b27d73b800f471447f27add8826
treed92755932baca1a69ea236060b3bab6d073eb082
parent2053061baeff77c8ce39baf59d6abefa1ee821eb
zebra: add flag track released state of proto NHGS

Add a flag to track the released state of a proto-based NHG.

This flag is used to know whether the upper level proto has called
the *_del API. Typically, the NHG would just get removed and uninstalled
at this point but there is a chance we are being sent it while routes
are still being owned or we were sent it multiple times. This flag
and associated code handles that.

Ticket: CM-30369

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
zebra/zebra_nhg.c
zebra/zebra_nhg.h