2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

Merge branch '440-root-zone-performance-regression-uint32' into 'master'

Resolve "Root zone performance regression since 9.12.2rc2 and 9.13.1"

Closes #440

See merge request isc-projects/bind9!602
This commit is contained in:
Ondřej Surý 2018-08-07 04:02:02 -04:00
commit ec25056b48

View File

@ -416,7 +416,8 @@ towiresorted(dns_rdataset_t *rdataset, const dns_name_t *owner_name,
}
INSIST(i == count);
unsigned int j, seed;
unsigned int j;
isc_uint32_t seed;
if (ISC_LIKELY(want_random)) {
seed = isc_random32();
j = 0;