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>
This commit is contained in:
Donald Sharp 2024-02-08 11:35:31 -05:00
parent 0fa9ee396b
commit 910b2c5a4a

View File

@ -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);