From: Igor Putovny Date: Thu, 6 Mar 2025 14:44:48 +0000 (+0100) Subject: Remove assertions X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e8d7186f8d0ab524d02e9bb609ca72fa4f5c488;p=thirdparty%2Fbird.git Remove assertions If prefix node was pruned from the trie, these assertions may not hold for returned node --- diff --git a/proto/aggregator/trie.c b/proto/aggregator/trie.c index 22cfbfeaa..49c4c6050 100644 --- a/proto/aggregator/trie.c +++ b/proto/aggregator/trie.c @@ -956,10 +956,7 @@ aggregator_recalculate(struct aggregator_proto *p, struct aggregator_route *old, const u32 pxlen = net_pxlen(addr); updated_node = aggregator_trie_remove_prefix(p, prefix, pxlen); - ASSERT_DIE(updated_node != NULL); - ASSERT_DIE(updated_node->px_origin == FILLER); - ASSERT_DIE(updated_node->original_bucket == NULL); } else /* Announce or update */ {