From: Stephen Worley Date: Thu, 22 Oct 2020 22:10:44 +0000 (-0400) Subject: zebra: disable dependent backpointers for backup nexthops X-Git-Tag: base_7.6~364^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F7374%2Fhead;p=mirror%2Ffrr.git zebra: disable dependent backpointers for backup nexthops 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 --- diff --git a/zebra/zebra_nhg.c b/zebra/zebra_nhg.c index 781a70da17..94d4735d62 100644 --- a/zebra/zebra_nhg.c +++ b/zebra/zebra_nhg.c @@ -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;