From 910b2c5a4adaf14f007c18abbc97f59e380fe17b Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Thu, 8 Feb 2024 11:35:31 -0500 Subject: [PATCH] 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 --- zebra/zebra_nhg.c | 1 - 1 file changed, 1 deletion(-) 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);