]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Remove route only if NHE is installed check
authorStephen Worley <sworley@cumulusnetworks.com>
Tue, 14 May 2019 22:58:02 +0000 (15:58 -0700)
committerStephen Worley <sworley@cumulusnetworks.com>
Fri, 25 Oct 2019 15:13:40 +0000 (11:13 -0400)
commit6df591527f8de78378e24096de6e78f42797b737
tree0a884fd31b41de8c020b53d43ba87f1b284f4698
parentda1371420204efbdaef17138392b146708cfbf4c
zebra: Remove route only if NHE is installed check

Only remove a route if the nexthop it is using is still installed.
If a nexthop object is removed from the kernel, all routes referencing
it will be removed from the kernel.

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