fixup! fixup! fixup! fixup! fixup! fixup! fixup! EXP: Lock-free QPzone

This commit is contained in:
Evan Hunt
2025-03-06 13:15:51 -08:00
parent 099f74e42c
commit 15adaa29bd
2 changed files with 2 additions and 2 deletions

View File

@@ -237,7 +237,7 @@ bcentry_purge(struct cds_lfht *ht, struct cds_list_head *lru,
isc_stdtime_t now) {
size_t count = 10;
dns_bcentry_t *bad;
cds_list_for_each_entry_rcu(bad, lru, lru_head) {
cds_list_for_each_entry_rcu (bad, lru, lru_head) {
if (bcentry_alive(ht, bad, now)) {
break;
}

View File

@@ -3033,7 +3033,7 @@ qpzone_check_zonecut(qpznode_t *node, void *arg DNS__DB_FLARG) {
cds_list_for_each_entry_rcu (hlist, &node->headers, nnode) {
if (hlist->type != dns_rdatatype_ns &&
hlist->type != dns_rdatatype_dname &&
hlist->type == DNS_SIGTYPE(dns_rdatatype_dname))
hlist->type != DNS_SIGTYPE(dns_rdatatype_dname))
{
continue;
}