summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-02-22 13:11:32 -0500
committerGitHub <noreply@github.com>2019-02-22 13:11:32 -0500
commit2eba324247aadd7b623e17ca6f96b8db42bd04bf (patch)
tree1d1587818d0747c8a7e244716429ea0fca0810af
parentf4756ad73738d3aff13b6dfb5e74522913f12c57 (diff)
parent5c111895d69cfe1feeb1a6e022addd4c2994bf7c (diff)
Merge pull request #3847 from mjstapp/fix_rnode_unlock
zebra: unlock route-node in dplane results handler
-rw-r--r--zebra/zebra_rib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c
index 8afcc2b685..b71bf77df2 100644
--- a/zebra/zebra_rib.c
+++ b/zebra/zebra_rib.c
@@ -1879,6 +1879,8 @@ static void rib_process_result(struct zebra_dplane_ctx *ctx)
goto done;
}
+ route_unlock_node(rn);
+
srcdest_rnode_prefixes(rn, &dest_pfx, &src_pfx);
op = dplane_ctx_get_op(ctx);