Files
bind9/lib/dns
Michał Kępień f5079bb877 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-15 20:31:54 +01:00
..
2017-09-08 13:47:34 -07:00
2018-01-24 10:22:59 -08:00
2017-09-13 23:48:32 +00:00
2017-11-23 16:11:49 +11:00
2017-10-27 15:49:44 -07:00
2018-01-21 23:45:57 +00:00
2017-07-21 23:46:06 +00:00
2017-11-18 11:22:44 +11:00
2017-07-21 23:46:06 +00:00
2018-01-24 23:46:02 +00:00
2017-07-31 15:26:00 +02:00
2017-05-30 23:45:32 +00:00
2017-09-13 23:48:32 +00:00
2017-10-19 23:46:02 +00:00
2017-12-29 01:44:18 +00:00
2017-09-18 23:48:50 +00:00
2017-11-01 22:48:12 -07:00
2018-01-22 23:46:02 +00:00
2017-04-22 23:45:41 +00:00
2018-01-12 23:45:54 +00:00
2017-04-22 23:45:41 +00:00
2017-09-18 23:48:50 +00:00
2018-01-16 23:45:57 +00:00
2017-07-27 23:48:36 +00:00
2017-10-24 09:17:08 -07:00
2017-09-13 19:44:47 +05:30
2018-02-07 23:45:53 +00:00
2017-08-09 23:47:50 +00:00
2017-10-19 23:46:02 +00:00
2017-09-06 10:57:40 -07:00
2018-01-30 23:45:59 +00:00
2017-09-13 00:14:37 -07:00
2017-10-05 23:45:49 +00:00