]> git.proxmox.com Git - mirror_frr.git/commit
zebra: Check active on OLD system/kernel routes
authorStephen Worley <sworley@cumulusnetworks.com>
Thu, 17 Oct 2019 19:41:25 +0000 (15:41 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Fri, 18 Oct 2019 20:59:34 +0000 (16:59 -0400)
commita8c427ee392f087b9430a2ea9f5e04948bf5b937
treef10fbe452a50d310f371c8b261c385641d9cd29b
parent2a99ab95e63758f3a38b8ff0973fbd74ddb409d9
zebra: Check active on OLD system/kernel routes

We can assume that system/kernel routes are valid indeed
if this is our first time procesing them. But since we don't
get explicit deletion events for kernel routes anymore, we
have to be prepared to process them if the nexthop becomes
unreachable for instance. Therefore, if the route is not NEW,
then don't assume its valid.

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