]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix RCU API usage in acl.c
authorAram Sargsyan <aram@isc.org>
Wed, 4 Sep 2024 16:19:44 +0000 (16:19 +0000)
committerAram Sargsyan <aram@isc.org>
Tue, 10 Sep 2024 09:54:20 +0000 (09:54 +0000)
commit0367c60759643c54dd3ef4bab7cecee0a3004db8
tree9eb620e02746366661784c322022974af6ea4216
parent0d2482c62e90c46280ddd82978047c366423d472
Fix RCU API usage in acl.c

The rcu_xchg_pointer() function can be used outside of a critical
section, and usually must be followed by a synchronize_rcu() or
call_rcu() call to detach from the resource, unless if there are
some guarantees in place because of our own reference counting.
lib/dns/acl.c