bind9/lib
Michał Kępień 74cd632f18 Prevent a race after zone load
Zone loading happens in a different task (zone->loadtask) than other
zone actions (zone->task).  Thus, when zone_postload() is called in the
context of zone->loadtask, it may cause zone maintenance to be queued in
zone->task and another thread can then execute zone_maintenance() before
zone_postload() gets a chance to finish its work in the first thread.
This would not be a problem if zone_maintenance() accounted for this
possibility by locking the zone before checking the state of its
DNS_ZONEFLG_LOADPENDING flag.  However, the zone is currently not locked
before the state of that flag is checked, which may prevent zone
maintenance from happening despite zone_postload() scheduling it.  Fix
by locking the zone in zone_maintenance() before checking the state of
the zone's DNS_ZONEFLG_LOADPENDING flag.

(cherry picked from commit 56003e9f9f)
2018-09-26 19:46:21 -07:00
..
bind9 add krb5-selfsub and ms-selfsub 2018-09-10 17:40:19 +10:00
dns Prevent a race after zone load 2018-09-26 19:46:21 -07:00
irs Bail-out early in the for install loops instead of continuing because for masks the error in the middle 2018-09-03 13:49:35 +02:00
isc avoid macro name collision with system defined macro 2018-09-10 09:30:59 +10:00
isccc Bail-out early in the for install loops instead of continuing because for masks the error in the middle 2018-09-03 13:49:35 +02:00
isccfg add krb5-selfsub and ms-selfsub 2018-09-10 17:40:19 +10:00
lwres Bail-out early in the for install loops instead of continuing because for masks the error in the middle 2018-09-03 13:49:35 +02:00
samples Replace custom isc_boolean_t with C standard bool type 2018-08-10 15:20:57 +02:00
win32/bindevt Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 14:25:15 +02:00
.gitignore added gitignore, removed cvsignore 2012-03-03 23:10:05 -08:00
Atffile 4492. [bug] irs_resconf_load failed to initialise sortlistnxt 2016-10-27 13:18:47 +11:00
Kyuafile regen v9_11 2017-12-29 02:23:11 +00:00
Makefile.in update file headers to remove copyright years 2018-03-14 16:40:20 -07:00