diff options
| author | Mark Stapp <mjs@voltanet.io> | 2019-02-21 16:41:24 -0500 |
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2019-02-21 16:41:24 -0500 |
| commit | 888756b208edc7935705d95b83f9513acc21e78a (patch) | |
| tree | 4f3623f37a85f657e933399008d79924b34ded2b /zebra/zebra_rib.c | |
| parent | ae13cc51d5f3e5205fd092831959dc08775c9f25 (diff) | |
zebra: unlock route-node when processing dplane results
Unlock the route-node datastruct we access while processing
results from the async dataplane. [7.0]
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/zebra_rib.c')
| -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 5d6eac7533..ab94183c52 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -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); |
