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 <sworley@cumulusnetworks.com>
This commit is contained in:
Stephen Worley 2020-10-22 18:10:44 -04:00
parent 8459128259
commit 7fa239f165

View 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;