]> git.ipfire.org Git - thirdparty/bind9.git/commit
Refactor dns_badcache to use cds_lfht lock-free hashtable
authorOndřej Surý <ondrej@isc.org>
Mon, 19 Jun 2023 13:43:02 +0000 (15:43 +0200)
committerOndřej Surý <ondrej@isc.org>
Mon, 31 Jul 2023 13:51:15 +0000 (15:51 +0200)
commit4dacdde28f49b9a21862c2c00be673eba71342e7
tree82056f90a4278179b52973bb546f42877885c49d
parentc4bc43c8a77ef345c3dc4277bbed5c7575a28556
Refactor dns_badcache to use cds_lfht lock-free hashtable

The dns_badcache unit had (yet another) own locked hashtable
implementation.  Replace the hashtable used by dns_badcache with
lock-free cds_lfht implementation from liburcu.
12 files changed:
configure.ac
lib/dns/badcache.c
lib/dns/include/dns/badcache.h
lib/dns/include/dns/resolver.h
lib/dns/resolver.c
lib/dns/validator.c
lib/dns/view.c
lib/ns/client.c
lib/ns/query.c
tests/dns/Makefile.am
tests/dns/badcache_test.c [new file with mode: 0644]
tests/ns/query_test.c