mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-27 12:02:10 -05:00
Since the dns_validator_destroy() function doesn't guarantee that it destroys the validator, rename it to dns_validator_shutdown() and require explicit dns_validator_detach() to follow. Enforce the documented function requirement that the validator must be completed when the function is called. Make sure to set val->name to NULL when the function is called, so that the owner of the validator may destroy the name, even if the validator is not destroyed immediately. This should be safe, because the name can be used further only for logging by the offloaded work callbacks when they detect that the validator is already canceled/complete, and the logging function has a condition to use the name only when it is non-NULL. |
||
|---|---|---|
| .. | ||
| dns | ||
| dst | ||
| irs | ||
| .clang-format | ||