]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: unlock route-node when processing dplane results 3852/head
authorMark Stapp <mjs@voltanet.io>
Thu, 21 Feb 2019 21:41:24 +0000 (16:41 -0500)
committerMark Stapp <mjs@voltanet.io>
Thu, 21 Feb 2019 21:41:24 +0000 (16:41 -0500)
Unlock the route-node datastruct we access while processing
results from the async dataplane. [7.0]

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

index 5d6eac75330d0590ddf93e294882800bb0527a9a..ab94183c520b4e60ed3596df18b24b302f599242 100644 (file)
@@ -1860,6 +1860,8 @@ static void rib_process_after(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);