]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_nhg.c
zebra: return the proto nhe on del even with refs
authorStephen Worley <sworley@cumulusnetworks.com>
Sun, 24 May 2020 20:08:36 +0000 (16:08 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Mon, 28 Sep 2020 16:40:59 +0000 (12:40 -0400)
commit9c6c48bc101f8f4b47fa9f373e436c85d04608cf
tree8fb77ef16ad9c26391472970a2e654ddefd7c6cf
parent3bccc0f5ebd71ac269fc7d9723146f5c32a50705
zebra: return the proto nhe on del even with refs

Return the proto nhe on del even if their are still possible
route references.

We may get a del before the routes are removed. So we still need
to return this to the caller so they can decrement the ref.

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