2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

4453. [bug] Prefetching of DS records failed to update their

RRSIGs. [RT #42865]
This commit is contained in:
Mark Andrews
2016-08-25 09:51:31 +10:00
parent a91ea57cb3
commit f431bf02a6
10 changed files with 77 additions and 5 deletions

View File

@@ -5028,7 +5028,7 @@ validated(isc_task_t *task, isc_event_t *event) {
eresult = DNS_R_NCACHENXRRSET;
} else if (vevent->sigrdataset != NULL) {
result = dns_db_addrdataset(fctx->cache, node, NULL, now,
vevent->sigrdataset, 0,
vevent->sigrdataset, options,
asigrdataset);
if (result != ISC_R_SUCCESS &&
result != DNS_R_UNCHANGED)
@@ -5497,8 +5497,8 @@ cache_name(fetchctx_t *fctx, dns_name_t *name, dns_adbaddrinfo_t *addrinfo,
* Mark the rdataset as being prefetch eligible.
*/
if (rdataset->ttl > fctx->res->view->prefetch_eligible)
rdataset->attributes |= DNS_RDATASETATTR_PREFETCH;
rdataset->attributes |=
DNS_RDATASETATTR_PREFETCH;
/*
* Cache this rdataset/sigrdataset pair as