summaryrefslogtreecommitdiff
path: root/zebra/zebra_nhg.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2024-02-08 11:35:31 -0500
committerDonald Sharp <sharpd@nvidia.com>2024-02-08 11:37:26 -0500
commit910b2c5a4adaf14f007c18abbc97f59e380fe17b (patch)
tree5593fec94f83c4c8750d1f533398bcb4962aad73 /zebra/zebra_nhg.c
parent0fa9ee396b06028eaf611e9ab892cf033d00f558 (diff)
zebra: Installation success should not set NHG as valid
The nexthop group is marked as valid/invalid and then installed. Not installed and then marked valid. This is just a bit of code removed that might be covering up other problems that need to be sorted. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zebra_nhg.c')
-rw-r--r--zebra/zebra_nhg.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/zebra/zebra_nhg.c b/zebra/zebra_nhg.c
index 6ae39fdde4..ecdba8866d 100644
--- a/zebra/zebra_nhg.c
+++ b/zebra/zebra_nhg.c
@@ -3176,7 +3176,6 @@ void zebra_nhg_dplane_result(struct zebra_dplane_ctx *ctx)
UNSET_FLAG(nhe->flags, NEXTHOP_GROUP_QUEUED);
switch (status) {
case ZEBRA_DPLANE_REQUEST_SUCCESS:
- SET_FLAG(nhe->flags, NEXTHOP_GROUP_VALID);
SET_FLAG(nhe->flags, NEXTHOP_GROUP_INSTALLED);
zebra_nhg_handle_install(nhe, true);