]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: dev: Save time when creating a slab from another slab
authorEvan Hunt <each@isc.org>
Tue, 25 Feb 2025 18:37:49 +0000 (18:37 +0000)
committerEvan Hunt <each@isc.org>
Tue, 25 Feb 2025 18:37:49 +0000 (18:37 +0000)
The `dns_rdataslab_fromrdataset()` function creates a slab from an rdataset. If the source rdataset already uses a slab, then no processing is necessary; we can just copy the existing slab to a new location.

Closes #5188

Merge branch '5188-optimize-makeslab' into 'main'

See merge request isc-projects/bind9!10162


Trivial merge