]> git.ipfire.org Git - thirdparty/bind9.git/commit
release RCU in dns_qpmulti_snapshot()
authorEvan Hunt <each@isc.org>
Tue, 28 Nov 2023 23:05:55 +0000 (15:05 -0800)
committerEvan Hunt <each@isc.org>
Fri, 8 Mar 2024 23:36:56 +0000 (15:36 -0800)
commit2222728a4f6f5bbdceadfc7c6d156d37391b989f
tree45db81e80d1b3bd26963e2dd2208db46eebf561d
parentab13ba243802ac04f21aa5b1dc9a4f52b7c8e783
release RCU in dns_qpmulti_snapshot()

previously, an RCU critical section was held open for the duration
of a snapshot. this should not be necessary, as the snapshot makes
local copies of QP trie metadata, and it causes problems when a
DB iterator is held open between two loop events.  we now call
rcu_read_unlock() after setting up the snapshot.
lib/dns/qp.c