mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 00:12:04 -04:00
3372. [bug] Silence spurious "deleted from unreachable cache"
messages. [RT #30501]
This commit is contained in:
parent
85137edb47
commit
4c2168728c
2 changed files with 5 additions and 0 deletions
3
CHANGES
3
CHANGES
|
|
@ -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]
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue