]> git.ipfire.org Git - thirdparty/bind9.git/commit
Have dns_zt_apply lock the zone table
authorMark Andrews <marka@isc.org>
Wed, 24 Aug 2022 02:21:50 +0000 (12:21 +1000)
committerMark Andrews <marka@isc.org>
Fri, 11 Nov 2022 15:26:11 +0000 (15:26 +0000)
commitf053d5b41453aa2099030315b8faebd731e7789a
treede6e793925e9df7cf29d8350b6a3812f7870aea7
parent849785cc2068362ea512167031229bb6c6d4dd9f
Have dns_zt_apply lock the zone table

There were a number of places where the zone table should have been
locked, but wasn't, when dns_zt_apply was called.

Added a isc_rwlocktype_t type parameter to dns_zt_apply and adjusted
all calls to using it.  Removed locks in callers.
bin/named/server.c
bin/named/statschannel.c
lib/dns/include/dns/zt.h
lib/dns/view.c
lib/dns/zt.c
tests/dns/zt_test.c