]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: unlock route-node in dplane results handler 3847/head
authorMark Stapp <mjs@voltanet.io>
Thu, 21 Feb 2019 21:15:14 +0000 (16:15 -0500)
committerMark Stapp <mjs@voltanet.io>
Thu, 21 Feb 2019 21:15:14 +0000 (16:15 -0500)
Unlock the route-node struct we look up while processing
async dataplane results.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
zebra/zebra_rib.c

index 8afcc2b685cb0ac9919ff0e112379c4a3964aa42..b71bf77df23f1f46bb78c1006de3d0dc09243637 100644 (file)
@@ -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);