Ondřej Surý
d76ab69772
Attach to the dns_dispatchmgr in the dns_view object
...
The dns_dispatchmgr object was only set in the dns_view object making it
prone to use-after-free in the dns_xfrin unit when shutting down named.
Remove dns_view_setdispatchmgr() and optionally pass the dispatchmgr
directly to dns_view_create() when it is attached and not just assigned,
so the dns_dispatchmgr doesn't cease to exist too early.
The dns_view_getdnsdispatchmgr() is now protected by the RCU lock, the
dispatchmgr reference is incremented, so the caller needs to detach from
it, and the function can return NULL in case the dns_view has been
already shut down.
2023-08-15 10:25:37 -07:00
..
2023-08-15 10:25:37 -07:00
2023-08-15 12:21:41 +02:00
2023-08-15 12:21:41 +02:00
2023-07-31 15:51:15 +02:00
2023-07-27 11:37:44 +02:00
2023-07-31 18:11:34 +02:00
2023-08-15 10:25:37 -07:00
2023-07-31 18:11:34 +02:00
2023-07-19 15:32:21 +02:00
2023-07-27 11:37:44 +02:00
2023-07-17 14:50:25 +02:00
2023-06-14 09:08:56 +02:00
2023-07-27 11:37:44 +02:00
2023-06-14 08:14:38 +00:00
2023-08-09 23:48:17 +00:00
2023-08-15 14:25:24 +02:00
2023-06-29 08:28:48 +10:00
2023-08-02 11:16:50 +02:00
2023-08-15 12:21:41 +02:00
2023-08-01 08:56:52 +02:00
2023-08-15 14:25:24 +02:00
2023-07-17 14:50:25 +02:00
2023-08-15 12:21:41 +02:00
2023-04-05 14:46:39 +00:00
2023-07-17 14:50:25 +02:00
2023-08-15 12:21:41 +02:00
2023-08-15 14:24:46 +02:00
2023-08-09 23:48:17 +00:00
2023-08-15 12:21:41 +02:00
2023-08-09 23:48:17 +00:00
2023-08-09 23:48:17 +00:00
2023-08-09 23:48:17 +00:00
2023-05-15 20:49:42 +00:00
2023-08-15 14:24:46 +02:00
2023-07-17 14:50:25 +02:00
2023-08-15 12:21:41 +02:00
2023-07-17 14:50:25 +02:00
2023-07-31 18:11:34 +02:00
2023-05-23 08:53:23 +02:00
2023-07-17 14:50:25 +02:00
2023-07-17 14:50:25 +02:00
2023-08-03 13:26:27 -07:00
2023-07-28 09:01:22 +02:00
2023-05-16 02:04:55 +00:00
2023-08-15 14:25:24 +02:00
2023-06-15 15:32:04 +02:00
2023-07-31 18:11:34 +02:00
2023-08-15 12:21:41 +02:00
2023-07-17 14:50:25 +02:00
2023-07-27 11:37:44 +02:00
2023-07-28 14:37:32 +10:00
2023-06-14 08:14:38 +00:00
2023-08-15 12:21:41 +02:00
2023-08-15 12:21:41 +02:00
2023-08-15 14:25:24 +02:00
2023-08-15 10:25:37 -07:00
2023-08-15 10:25:37 -07:00
2023-07-20 12:40:54 +02:00
2023-08-15 14:25:24 +02:00
2023-08-15 14:25:24 +02:00
2023-08-15 14:24:46 +02:00