summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-11-09 16:46:50 +0200
committerGitHub <noreply@github.com>2022-11-09 16:46:50 +0200
commit0cb4f4db970f4cd79f89332bbdd40a7c074d08cd (patch)
treeb84c54fdc34864fa8282effbfc50b35957b5fad8
parent36c54fce566f1eaeeb61a2170f22e3b459cc8ef8 (diff)
parentfcbb9447c52e65faf887f2c55a55a0afec2c41c1 (diff)
Merge pull request #12293 from donaldsharp/rpki_crash_to_8.4
bgpd: rpki was decrementing the node lock one time too many
-rw-r--r--bgpd/bgp_rpki.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/bgpd/bgp_rpki.c b/bgpd/bgp_rpki.c
index b56daf3f2f..5743e5da67 100644
--- a/bgpd/bgp_rpki.c
+++ b/bgpd/bgp_rpki.c
@@ -446,9 +446,6 @@ static void bgpd_sync_callback(struct thread *thread)
node = bgp_route_next_until(node, match);
}
-
- if (match)
- bgp_dest_unlock_node(match);
}
}