Aram Sargsyan
19d4539926
Fix a data race between dns_zone_getxfr() and dns_xfrin_create()
...
There is a data race between the statistics channel, which uses
`dns_zone_getxfr()` to get a reference to `zone->xfr`, and the creation
of `zone->xfr`, because the latter happens outside of a zone lock.
Split the `dns_xfrin_create()` function into two parts to separate the
zone tranfer startring part from the zone transfer object creation part.
This allows us to attach the new object to a local variable first, then
attach it to `zone->xfr` under a lock, and only then start the transfer.
(cherry picked from commit dbf230650f )
2024-11-16 18:55:00 +00:00
..
2024-11-16 18:55:00 +00:00
2024-09-25 12:07:52 +00:00
2024-09-10 10:34:32 +00:00
2024-11-13 07:51:19 +00:00
2024-06-10 16:55:09 +02:00
2024-03-08 15:36:56 -08:00
2024-08-13 16:57:50 +02:00
2024-08-07 21:12:34 +00:00
2024-10-18 19:31:56 +00:00
2024-08-05 14:43:18 +00:00
2024-08-05 14:43:18 +00:00
2024-03-08 15:36:56 -08:00
2024-10-24 01:21:37 +00:00
2024-03-08 15:36:56 -08:00
2024-08-22 10:17:08 +00:00
2024-04-26 16:12:29 +03:00
2024-04-26 16:08:46 +03:00
2024-02-14 13:24:56 +01:00
2024-01-25 14:48:07 +01:00
2024-03-14 10:25:07 -07:00
2024-02-08 08:01:58 +01:00
2024-10-18 19:31:56 +00:00
2024-01-25 14:47:43 +01:00
2024-11-04 01:10:34 +00:00
2024-10-18 19:31:56 +00:00
2024-03-14 10:25:07 -07:00
2024-08-22 10:17:08 +00:00
2024-05-07 10:01:12 +10:00
2024-08-01 03:48:08 +00:00
2024-09-12 16:41:02 +02:00
2024-10-18 19:31:56 +00:00
2024-04-30 12:50:01 -07:00
2024-04-17 17:14:34 +02:00
2024-04-02 10:35:56 +02:00
2024-02-08 08:01:58 +01:00
2024-10-18 19:31:56 +00:00
2024-01-25 14:48:07 +01:00
2024-10-18 19:31:56 +00:00
2024-01-25 14:48:07 +01:00
2024-05-16 09:49:41 +00:00
2024-03-08 15:36:56 -08:00
2024-09-19 15:02:23 -07:00
2024-03-06 20:57:31 -08:00
2024-10-10 09:29:52 +00:00
2024-06-10 16:55:09 +02:00
2024-10-10 09:29:52 +00:00
2024-02-29 11:23:03 +01:00
2024-08-05 14:43:18 +00:00
2024-08-05 14:43:18 +00:00
2024-09-11 09:33:13 +00:00
2024-08-01 01:10:48 +00:00
2024-08-22 08:16:03 +00:00
2024-10-24 01:21:37 +00:00
2024-02-13 09:21:49 +11:00
2024-10-24 01:21:37 +00:00
2024-03-06 10:49:02 +01:00
2024-04-02 10:35:56 +02:00
2024-04-23 13:11:52 +02:00
2024-04-10 22:51:07 -04:00
2024-08-22 10:17:08 +00:00
2024-08-01 06:41:47 +00:00
2024-10-18 19:31:56 +00:00
2024-08-22 10:17:08 +00:00
2024-09-18 18:06:27 +02:00
2024-10-01 01:27:55 +00:00
2024-11-16 18:55:00 +00:00
2024-01-25 14:48:07 +01:00
2024-11-16 18:55:00 +00:00
2024-05-16 10:27:49 +10:00
2024-04-30 12:50:01 -07:00