mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
a last minute edit added one too many conditions for putting a node on the
deletions list
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: rbtdb.c,v 1.150 2001/03/08 01:35:27 tale Exp $ */
|
/* $Id: rbtdb.c,v 1.151 2001/03/08 03:31:29 tale Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Principal Author: Bob Halley
|
* Principal Author: Bob Halley
|
||||||
@@ -4886,8 +4886,7 @@ dbiterator_current(dns_dbiterator_t *iterator, dns_dbnode_t **nodep,
|
|||||||
/*
|
/*
|
||||||
* expirenode() currently always returns success.
|
* expirenode() currently always returns success.
|
||||||
*/
|
*/
|
||||||
if (expire_result == ISC_R_SUCCESS &&
|
if (expire_result == ISC_R_SUCCESS && node->down == NULL) {
|
||||||
node->down == NULL && node->data == NULL) {
|
|
||||||
LOCK(&rbtdb->node_locks[node->locknum].lock);
|
LOCK(&rbtdb->node_locks[node->locknum].lock);
|
||||||
rbtdbiter->deletions[rbtdbiter->delete++] = node;
|
rbtdbiter->deletions[rbtdbiter->delete++] = node;
|
||||||
UNLOCK(&rbtdb->node_locks[node->locknum].lock);
|
UNLOCK(&rbtdb->node_locks[node->locknum].lock);
|
||||||
|
Reference in New Issue
Block a user