Files
bind9/lib/dns
Michał KępieńandOndřej Surý 7b455124d5 Ensure the correct ordering zone_shutdown() vs zone_gotwritehandle()
When the signed version of an inline-signed zone is dumped to disk, the
serial number of the unsigned version of the zone is written in the
raw-format header so that the contents of the signed zone can be
resynchronized after named restart if the unsigned zone file is
modified while named is not running (see RT #26676).

In order for the serial number of the unsigned zone to be determined
during the dump, zone->raw must be set to a non-NULL value.  This
should always be the case as long as the signed version of the zone is
used for anything by named.

However, under certain circumstances the zone->raw could be set to NULL
while the zone is being dumped.

Defer detaching from zone->raw in zone_shutdown() if the zone is in the
process of being dumped to disk.

(cherry picked from commit cc1d4e1aa6)
2022-01-05 10:32:50 +01:00
..
2021-04-19 14:32:53 +02:00
2020-11-11 15:59:56 -03:00
2021-08-11 15:18:10 +02:00
2021-02-23 09:18:55 +01:00
…
2021-08-28 07:45:39 -07:00
2020-12-01 23:19:20 +11:00
2021-09-01 00:43:54 -07:00
2021-09-01 00:43:54 -07:00
2021-08-18 14:59:29 +10:00
2020-11-11 15:59:56 -03:00
2021-05-20 09:52:53 +02:00
2021-08-30 11:58:29 -07:00