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
..
2018-02-07 23:48:20 +00:00
2018-02-16 14:36:56 +11:00
2018-02-16 15:08:24 +11:00
2018-02-07 13:50:00 +11:00
2017-10-19 12:32:53 +11:00
2016-12-27 09:50:08 +11:00
2018-02-16 14:29:27 +11:00
2018-02-15 11:16:15 -08:00
2016-06-27 14:56:38 +10:00
2018-02-16 14:36:56 +11:00
2017-09-12 14:55:40 +10:00
2016-06-27 14:56:38 +10:00
2018-02-16 14:29:27 +11:00
2017-07-21 12:28:58 +10:00
2016-06-27 14:56:38 +10:00
2016-06-27 14:56:38 +10:00
2016-11-03 09:48:26 +11:00
2016-06-27 14:56:38 +10:00
2016-06-29 11:26:49 +10:00
2018-01-21 23:47:14 +00:00
2017-11-30 18:27:07 +01:00
2016-06-27 14:56:38 +10:00
2017-07-21 23:46:43 +00:00
2017-07-21 23:46:43 +00:00
2018-02-16 14:36:56 +11:00
2016-06-27 14:56:38 +10:00
2018-02-16 14:29:27 +11:00
2016-10-31 10:05:55 +11:00
2017-08-01 23:47:30 +00:00
2016-06-27 14:56:38 +10:00
2016-10-31 10:05:55 +11:00
2018-02-16 14:29:27 +11:00
2017-08-01 23:47:30 +00:00
2016-06-27 14:56:38 +10:00
2016-06-27 14:56:38 +10:00
2017-05-30 23:46:05 +00:00
2016-11-03 09:48:26 +11:00
2016-06-27 14:56:38 +10:00
2016-06-27 14:56:38 +10:00
2016-06-27 14:56:38 +10:00
2017-09-13 23:52:25 +00:00
2018-02-16 14:29:27 +11:00
2016-06-27 14:56:38 +10:00
2017-10-03 23:46:31 +00:00
2018-01-30 15:28:51 +11:00
2018-01-21 23:47:14 +00:00
2017-10-19 23:46:54 +00:00
2017-07-21 23:46:43 +00:00
2016-06-27 14:56:38 +10:00
2016-06-27 14:56:38 +10:00
2018-01-24 09:50:56 -08:00
2017-12-29 02:23:11 +00:00
2016-06-27 14:56:38 +10:00
2017-10-25 23:50:03 +00:00
2016-06-27 14:56:38 +10:00
2017-12-07 13:31:57 +11:00
2018-01-22 23:47:25 +00:00
2017-02-20 17:29:18 +11:00
2018-02-16 14:36:56 +11:00
2017-12-06 21:02:24 +11:00
2016-06-29 11:26:49 +10:00
2017-10-25 09:50:33 +02:00
2016-06-27 14:56:38 +10:00
2018-01-13 23:48:14 +00:00
2017-08-30 18:22:25 +10:00
2017-09-19 23:47:50 +00:00
2017-09-19 23:47:50 +00:00
2017-09-19 23:47:50 +00:00
2017-09-19 17:00:37 +05:30
2017-09-19 23:47:50 +00:00
2017-09-19 17:00:37 +05:30
2016-06-27 14:56:38 +10:00
2016-06-27 14:56:38 +10:00
2016-06-27 14:56:38 +10:00
2017-09-19 17:00:37 +05:30
2017-09-19 17:00:37 +05:30
2017-01-04 23:45:48 +00:00
2017-08-07 14:23:01 -07:00
2017-09-19 17:00:37 +05:30
2017-09-19 17:00:37 +05:30
2016-06-27 14:56:38 +10:00
2017-10-19 12:32:53 +11:00
2018-02-16 14:32:24 +11:00
2016-06-27 14:56:38 +10:00
2016-06-27 14:56:38 +10:00
2018-01-24 23:47:27 +00:00
2016-06-27 14:56:38 +10:00
2017-09-15 13:14:40 +10:00
2018-02-16 15:08:24 +11:00
2016-06-27 14:56:38 +10:00
2016-06-27 14:56:38 +10:00
2017-09-01 12:42:12 +05:30
2016-06-27 14:56:38 +10:00
2018-01-13 11:47:46 +05:30
2016-12-14 10:33:04 +11:00
2018-02-16 14:32:24 +11:00
2017-07-27 23:52:09 +00:00
2017-10-24 09:17:21 -07:00
2018-02-16 15:06:51 +11:00
2016-06-27 14:56:38 +10:00
2018-02-16 15:00:06 +11:00
2018-02-16 14:34:18 +11:00
2018-02-16 14:35:36 +11:00
2016-06-27 14:56:38 +10:00
2018-02-16 15:08:24 +11:00
2016-06-27 14:56:38 +10:00
2018-02-16 15:08:25 +11:00
2016-06-27 14:56:38 +10:00
2017-12-06 10:35:21 +05:30
2018-02-07 23:48:20 +00:00
2016-06-27 14:56:38 +10:00
2018-02-16 14:35:36 +11:00
2017-08-09 23:49:39 +00:00
2016-06-27 14:56:38 +10:00
2016-08-19 08:05:47 +10:00
2017-10-19 23:46:54 +00:00
2017-11-13 17:16:31 +11:00
2017-09-15 13:14:40 +10:00
2018-02-16 14:45:20 +11:00
2018-01-04 23:46:19 +00:00
2016-06-27 14:56:38 +10:00
2017-11-30 14:34:43 +01:00
2017-09-13 00:17:16 -07:00
2018-02-16 08:58:24 +01:00
2016-06-27 14:56:38 +10:00
2017-10-05 23:46:27 +00:00