]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add missing acquire memory barrier in isc_nmhandle_unref
authorOndřej Surý <ondrej@isc.org>
Thu, 11 Jun 2020 11:01:26 +0000 (13:01 +0200)
committerOndřej Surý <ondrej@isc.org>
Thu, 11 Jun 2020 11:01:26 +0000 (13:01 +0200)
commit1013c0930e11e8a24d66da3dbdea26f72d25cbc2
tree826529e02d05a8e0234eae6d45aeb8e4c9c5feed
parent50d3344ca5b098b1e629e2c123393a308e80bad4
Add missing acquire memory barrier in isc_nmhandle_unref

The ThreadSanitizer uses system synchronization primitives to check for
data race.  The netmgr handle->references was missing acquire memory
barrier before resetting and reusing the memory occupied by isc_nmhandle_t.
lib/isc/netmgr/netmgr.c