summaryrefslogtreecommitdiff
path: root/zebra/zebra_rib.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2020-07-05 12:41:23 -0400
committerGitHub <noreply@github.com>2020-07-05 12:41:23 -0400
commita9a216e72522d02522738bd1fb9a9c9e33e1f6da (patch)
tree2ef589dc02b42bfd9aa94f3c89b34bc14f0f25de /zebra/zebra_rib.c
parent807c31d5822a7af5a8d07a0a72f73df67fd970ed (diff)
parent2f74a82a11c1e289408c6b964c9840c282550f62 (diff)
Merge pull request #6646 from xThaid/dplane_batching1
zebra: prepare dplane for batching
Diffstat (limited to 'zebra/zebra_rib.c')
-rw-r--r--zebra/zebra_rib.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c
index 3c408f858c..31582dcb3d 100644
--- a/zebra/zebra_rib.c
+++ b/zebra/zebra_rib.c
@@ -495,6 +495,9 @@ void rib_install_kernel(struct route_node *rn, struct route_entry *re,
if (zvrf)
zvrf->installs++;
break;
+ /* Should never happen */
+ case ZEBRA_DPLANE_REQUEST_PENDING:
+ break;
}
return;
@@ -539,6 +542,9 @@ void rib_uninstall_kernel(struct route_node *rn, struct route_entry *re)
if (zvrf)
zvrf->removals++;
break;
+ /* Should never happen */
+ case ZEBRA_DPLANE_REQUEST_PENDING:
+ break;
}
return;