bind9/lib
Evan Hunt 5c4cf3fcc4 prevent a deadlock in the shutdown system test
The shutdown test sends 'rdnc status' commands in parallel with
'rndc stop' A new rndc connection arriving will reference the ACL
environment to see whether the client is allowed to connect.
Commit c0995bc380 added a mutex lock to ns_interfacemgr_getaclenv(),
but if the new connection arrives while the interfaces are being
purged during shutdown, that lock is already being held. If the
the connection event slips in ahead of one of the netmgr's "stop
listening" events on a worker thread, a deadlock can occur.

The fix is not to hold the interfacemgr lock while shutting down
interfaces; only while actually traversing the interface list to
identify interfaces needing shutdown.
2022-04-27 23:25:57 -07:00
..
bind9 More explicit dns64 prefix errors 2022-03-25 10:59:15 +01:00
dns refactor resume_dsfetch() 2022-04-27 10:54:28 -07:00
irs Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
isc TLSDNS: call send callbacks after only the data was sent 2022-04-27 17:44:23 +03:00
isccc Keep the list of scheduled events on the timer 2022-04-01 23:45:23 +02:00
isccfg Rename the configuration option to load balance sockets to reuseport 2022-04-06 17:03:57 +02:00
ns prevent a deadlock in the shutdown system test 2022-04-27 23:25:57 -07:00
.gitignore The isc/platform.h header has been completely removed 2021-07-06 05:33:48 +00:00
Makefile.am move samples/resolve.c to bin/tests/system 2021-04-16 14:29:43 +02:00
unit-test-driver.sh.in Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00