From 7fa239f165f47d4a9e5a77e337d5715f69aa609a Mon Sep 17 00:00:00 2001 From: Stephen Worley Date: Thu, 22 Oct 2020 18:10:44 -0400 Subject: [PATCH] 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 --- zebra/zebra_nhg.c | 3 --- 1 file changed, 3 deletions(-) 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; -- 2.39.5