diff options
author | Mark Stapp <mjs@voltanet.io> | 2019-02-21 22:15:14 +0100 |
---|---|---|
committer | Mark Stapp <mjs@voltanet.io> | 2019-02-21 22:15:14 +0100 |
commit | 5c111895d69cfe1feeb1a6e022addd4c2994bf7c (patch) | |
tree | 16c8c3d7ce488e4ad74ffbdb3824e0b9eb7f9778 /zebra | |
parent | Merge pull request #3823 from opensourcerouting/confd-build-fix (diff) | |
download | frr-5c111895d69cfe1feeb1a6e022addd4c2994bf7c.tar.xz frr-5c111895d69cfe1feeb1a6e022addd4c2994bf7c.zip |
zebra: unlock route-node in dplane results handler
Unlock the route-node struct we look up while processing
async dataplane results.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra')
-rw-r--r-- | zebra/zebra_rib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 8afcc2b68..b71bf77df 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); |