3372. [bug] Silence spurious "deleted from unreachable cache"

messages.  [RT #30501]
This commit is contained in:
Mark Andrews 2012-09-08 17:59:14 +10:00
parent 85137edb47
commit 4c2168728c
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,6 @@
3372. [bug] Silence spurious "deleted from unreachable cache"
messages. [RT #30501]
3371. [bug] AD=1 should behave like DO=1 when deciding whether to
add NS RRsets to the additional section or not.
[RT #30479]

View file

@ -14550,6 +14550,8 @@ dns_zonemgr_unreachabledel(dns_zonemgr_t *zmgr, isc_sockaddr_t *remote,
for (i = 0; i < UNREACH_CHACHE_SIZE; i++) {
if (isc_sockaddr_equal(&zmgr->unreachable[i].remote, remote) &&
isc_sockaddr_equal(&zmgr->unreachable[i].local, local)) {
if (zmgr->unreachable[i].expire == 0)
break;
result = isc_rwlock_tryupgrade(&zmgr->urlock);
if (result == ISC_R_SUCCESS) {
locktype = isc_rwlocktype_write;