bind9/lib/ns
Aram Sargsyan f6e729635f Fix a race condition between shutdown and route_connected()
When shutting down, the interface manager can be destroyed
before the `route_connected()` callback is called, which is
unexpected for the latter and can cause a crash.

Move the interface manager attachment code from the callback
to the place before the callback is registered using
`isc_nm_routeconnect()` function, which will make sure that
the interface manager will live at least until the callback
is called.

Make sure to detach the interface manager if the
`isc_nm_routeconnect()` function is not implemented, or when
the callback is called with a result value which differs from
`ISC_R_SUCCESS`.
2022-06-14 14:31:24 +00:00
..
include Attach to separate recursion quota pointers 2022-06-14 13:13:32 +02:00
client.c Check recursions at the end of request processing 2022-06-14 13:13:32 +02:00
hooks.c Move netmgr/uv-compat.h to <isc/uv.h> 2022-05-03 10:02:19 +02:00
interfacemgr.c Fix a race condition between shutdown and route_connected() 2022-06-14 14:31:24 +00:00
listenlist.c Extend TLS context cache with TLS client session cache 2022-05-20 20:13:20 +03:00
log.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
Makefile.am Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
notify.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
query.c Assert on unknown isc_quota_attach() return values 2022-06-14 13:13:32 +02:00
server.c Remove the keep-response-order ACL map 2022-02-18 09:16:03 +01:00
sortlist.c Add isc_rwlock around dns_aclenv .localhost and .localnets member 2022-04-04 19:27:00 +02:00
stats.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
tests Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
update.c Create per-thread task and memory context for zonemgr 2022-04-01 23:50:34 +02:00
xfrout.c DNS name compression does not depend on the EDNS version 2022-06-01 13:00:40 +01:00