]> git.ipfire.org Git - thirdparty/bind9.git/commit
Release all resources when shutting down an RPZ zone during an update
authorMichał Kępień <michal@isc.org>
Mon, 29 Oct 2018 21:29:31 +0000 (22:29 +0100)
committerWitold Kręcicki <wpk@isc.org>
Mon, 29 Oct 2018 22:04:00 +0000 (23:04 +0100)
commit139bc2c6abdadc584fb53becdb0a7885160afc0d
treed8d150313aab2e067a2bb62d0ae1b26ffdec3dad
parentfaf2c7711aadde2c9bf7a142e7a53fc26236ebae
Release all resources when shutting down an RPZ zone during an update

If an RPZ zone is to be freed during an update, canceling the
update_quantum() event is not enough because the resources released when
an update completes also need to be accounted for.  Failure to do this
results in a hang upon shutdown.  Fix by copying cleanup code from the
end of update_quantum() to rpz_detach().
lib/dns/rpz.c