We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6c74ad5 + 68cd2a2 commit bf99288Copy full SHA for bf99288
zebra/zebra_rib.c
@@ -1860,8 +1860,6 @@ static void rib_process_after(struct zebra_dplane_ctx *ctx)
1860
goto done;
1861
}
1862
1863
- route_unlock_node(rn);
1864
-
1865
srcdest_rnode_prefixes(rn, &dest_pfx, &src_pfx);
1866
1867
op = dplane_ctx_get_op(ctx);
@@ -2011,6 +2009,9 @@ static void rib_process_after(struct zebra_dplane_ctx *ctx)
2011
2009
2012
2010
done:
2013
+ if (rn)
+ route_unlock_node(rn);
2014
+
2015
/* Return context to dataplane module */
2016
dplane_ctx_fini(&ctx);
2017
0 commit comments