]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: disable dependent backpointers for backup nexthops 7374/head
authorStephen Worley <sworley@cumulusnetworks.com>
Thu, 22 Oct 2020 22:10:44 +0000 (18:10 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Thu, 22 Oct 2020 22:10:44 +0000 (18:10 -0400)
Because the backup nexthop groups currently are more like pseudo-NHEs
(they don't have IDs and are not inserted into the ID table or
hashed), they can't really have this depends/dependents relationship
yet in both directions. Some work needs to be done there to make
them more like first class citizens like "normal" NHGs to enable
this.

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

index 781a70da17e58aac92263fc99348d40323e17392..94d4735d6296feb125c5480c3e3b2222c960f289 100644 (file)
@@ -832,9 +832,6 @@ static bool zebra_nhe_find(struct nhg_hash_entry **nhe, /* return value */
        if (recursive)
                SET_FLAG(backup_nhe->flags, NEXTHOP_GROUP_RECURSIVE);
 
-       /* Attach dependent backpointers to singletons */
-       zebra_nhg_connect_depends(backup_nhe, &backup_nhe->nhg_depends);
-
 done:
 
        return created;