]> git.ipfire.org Git - thirdparty/bind9.git/commit
use entirely local persistent data in modules
authorEvan Hunt <each@isc.org>
Wed, 19 Sep 2018 23:25:50 +0000 (16:25 -0700)
committerEvan Hunt <each@isc.org>
Thu, 6 Dec 2018 18:29:12 +0000 (10:29 -0800)
commit74683fbc3b82d815f110ee25b0eba2165852fd4b
tree8e6bc713916686ec7d91dac37b6af73ec6344b7d
parent8725f573714b623ba2d22d36fc541853cbc1c19f
use entirely local persistent data in modules

- eliminate qctx->hookdata and client->hookflags.
- use a memory pool to allocate data blobs in the filter-aaaa module,
  and associate them with the client address in a hash table
- instead of detaching the client in query_done(), mark it for deletion
  and then call ns_client_detach() from qctx_destroy(); this ensures
  that it will still exist when the QCTX_DESTROYED hook point is
  reached.
bin/hooks/filter-aaaa.c
bin/named/server.c
lib/ns/client.c
lib/ns/hooks.c
lib/ns/include/ns/client.h
lib/ns/include/ns/hooks.h
lib/ns/include/ns/query.h
lib/ns/query.c