]> git.ipfire.org Git - thirdparty/bind9.git/commit
Don't schedule next zone events when shutting down
authorOndřej Surý <ondrej@isc.org>
Fri, 7 Jan 2022 12:12:22 +0000 (13:12 +0100)
committerOndřej Surý <ondrej@isc.org>
Thu, 13 Jan 2022 16:58:33 +0000 (17:58 +0100)
commitc960236adbf709c1068649159984abe13f54ceac
tree226f2e9f2cf700ff0d5cdeb0efa6f08199ca93d4
parentefca93942cda52307c9d2c25d3949b599d8494c8
Don't schedule next zone events when shutting down

When the named is shutting down, the zone event callbacks could
re-schedule the stub and refresh events leading to assertion failure.

Handle the ISC_R_SHUTTINGDOWN event state gracefully by bailing out.
lib/dns/zone.c