fixup! fixup! fixup! fixup! fixup! fixup! fixup! EXP: Lock-free QPzone
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user