]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix a race between isc__nm_async_shutdown() and new sends/reads
authorOndřej Surý <ondrej@sury.org>
Tue, 27 Oct 2020 19:00:08 +0000 (20:00 +0100)
committerOndřej Surý <ondrej@isc.org>
Fri, 30 Oct 2020 10:11:54 +0000 (11:11 +0100)
commit6cfadf9db037efa57d84803601891a33a85a8d8e
tree9d255ae3a2f1bb0df662cbd3ca7fa4ea2e695ead
parent5fcd52209a9eeb7c6575b77c3bd4070ad9ba1c2d
Fix a race between isc__nm_async_shutdown() and new sends/reads

There was a data race where a new event could be scheduled after
isc__nm_async_shutdown() had cleaned up all the dangling UDP/TCP
sockets from the loop.
lib/isc/netmgr/netmgr-int.h
lib/isc/netmgr/netmgr.c
lib/isc/netmgr/tcp.c
lib/isc/netmgr/udp.c