]> git.puffer.fish Git - matthieu/frr.git/commitdiff
zebra: Add calls to the nexthop context process result function
authorStephen Worley <sworley@cumulusnetworks.com>
Fri, 8 Mar 2019 15:26:33 +0000 (10:26 -0500)
committerStephen Worley <sworley@cumulusnetworks.com>
Fri, 25 Oct 2019 15:13:37 +0000 (11:13 -0400)
Added in case statements to handle finished dataplane contexts
and then handle them with the nexthop process result function.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
zebra/zebra_rib.c

index 5f942a7ecf7f14b16d8fc10c31812034615f5ca0..1ea11640d739bff570c8f2673913b18fc3b98782 100644 (file)
@@ -3424,6 +3424,12 @@ static int rib_process_dplane_results(struct thread *thread)
                                rib_process_dplane_notify(ctx);
                                break;
 
+                       case DPLANE_OP_NH_INSTALL:
+                       case DPLANE_OP_NH_UPDATE:
+                       case DPLANE_OP_NH_DELETE:
+                               zebra_nhg_dplane_result(ctx);
+                               break;
+
                        case DPLANE_OP_LSP_INSTALL:
                        case DPLANE_OP_LSP_UPDATE:
                        case DPLANE_OP_LSP_DELETE: