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

messages.  [RT #30501]
This commit is contained in:
Mark Andrews
2012-09-08 17:59:53 +10:00
parent d02aadc6bf
commit bdbdd28db0
2 changed files with 5 additions and 0 deletions
+3
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]
+2
View File
@@ -14504,6 +14504,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;