]> git.ipfire.org Git - thirdparty/bind9.git/commit
TLS: Avoid accessing listener socket flags from other threads
authorArtem Boldariev <artem@boldariev.com>
Wed, 30 Nov 2022 20:58:13 +0000 (22:58 +0200)
committerArtem Boldariev <artem@boldariev.com>
Thu, 1 Dec 2022 19:07:49 +0000 (21:07 +0200)
commit4b5559cd8f41e67bf03e92d9d0338dee9d549b48
tree1dd94dd777b4d72f493e902e9879e574fd86f07f
parent052200cc2b86ae60932ef817241c5270714e6469
TLS: Avoid accessing listener socket flags from other threads

This commit ensures that the flags inside a TLS listener socket
object (and associated worker) are accessed when accepting a
connection only from within the context of the dedicated thread, but
not other worker threads.
lib/isc/netmgr/tlsstream.c