bind9/lib
Michał Kępień 5c080dfe73 Do not recheck DNS_ZONEFLG_LOADPENDING in zone_asyncload()
Remove a block of code which dates back to commit 8a2ab2b920, when
dns_zone_asyncload() did not yet check DNS_ZONEFLG_LOADPENDING.
Currently, no race in accessing DNS_ZONEFLG_LOADPENDING is possible any
more, because:

  - dns_zone_asyncload() is still the only function which may queue
    zone_asyncload(),

  - dns_zone_asyncload() accesses DNS_ZONEFLG_LOADPENDING under a lock
    (and potentially queues an event under the same lock),

  - DNS_ZONEFLG_LOADPENDING is not cleared until the load actually
    completes.

Thus, the rechecking code can be safely removed from zone_asyncload().

Note that this also brings zone_asyncload() to a state in which the
completion callback is always invoked.  This is required to prevent
leaking memory in case something goes wrong in zone_asyncload() and a
zone table the zone belongs to is indefinitely left with a positive
reference count.
2018-02-16 08:58:24 +01:00
..
bind9 [v9_11] prep 9.11.3rc1 2018-02-15 11:16:15 -08:00
dns Do not recheck DNS_ZONEFLG_LOADPENDING in zone_asyncload() 2018-02-16 08:58:24 +01:00
irs [v9_11] update 9.11 api range 2018-01-24 10:24:17 -08:00
isc conditionally declare stacksize 2018-02-16 15:08:24 +11:00
isccc [v9_11] update 9.11 api range 2018-01-24 10:24:17 -08:00
isccfg [v9_11] update 9.11 api range 2018-01-24 10:24:17 -08:00
lwres [v9_11] update 9.11 api range 2018-01-24 10:24:17 -08:00
samples use %u instead of %d 2018-02-16 14:58:17 +11:00
tests update copyright notice / whitespace 2017-08-09 23:49:39 +00:00
win32/bindevt 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10: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 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00