From: Igor Putovny Date: Mon, 13 Jan 2025 15:41:14 +0000 (+0100) Subject: Add comments X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64988a629910c598144c99aa517409b4faab6fdd;p=thirdparty%2Fbird.git Add comments --- diff --git a/proto/aggregator/aggregator.c b/proto/aggregator/aggregator.c index f43e9026a..9d085e80c 100644 --- a/proto/aggregator/aggregator.c +++ b/proto/aggregator/aggregator.c @@ -244,6 +244,7 @@ merge_potential_buckets(struct trie_node *target, const struct trie_node *left, /* Save current bitmap values */ old[i] = target->potential_buckets[i]; + /* Compute intersection */ has_intersection |= !!(target->potential_buckets[i] = left->potential_buckets[i] & right->potential_buckets[i]); bucket_count += popcount32(target->potential_buckets[i]); @@ -746,7 +747,7 @@ deaggregate(struct trie_node *node) } /* - * Merge sets of potential buckets from @node upwards. + * Merge sets of potential buckets going from @node upwards. * Stop when sets don't change and return the last updated node. */ static struct trie_node *