mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-22 18:19:42 +00:00
Do not skip cleanup for origin nodes in qpzone
Per @each, skipping cleanup of (|nsec_|nsec3_)origin nodes in qpznode_release in qpzone.c is a residual from RBTDB, but it is unnecessary or at most a performance optimization with QP. Remove it to make it further changes easier to qpznode_release easier.
This commit is contained in:
parent
87dfd96743
commit
3271f5fda4
@ -970,10 +970,7 @@ qpznode_release(qpzonedb_t *qpdb, qpznode_t *node, uint32_t least_serial,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Handle easy and typical case first. */
|
/* Handle easy and typical case first. */
|
||||||
if (!node->dirty &&
|
if (!node->dirty && node->data != NULL) {
|
||||||
(node->data != NULL || node == qpdb->origin ||
|
|
||||||
node == qpdb->nsec_origin || node == qpdb->nsec3_origin))
|
|
||||||
{
|
|
||||||
goto unref;
|
goto unref;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user