bind9/bin/tests
Michał Kępień 299954d006 Make dnstap work reliably with netmgr
The introduction of netmgr doubled the number of threads from which
dnstap data may be logged: previously, it could only happen from within
taskmgr worker threads; with netmgr, it can happen both from taskmgr
worker threads and from network threads.  Since the argument passed to
fstrm_iothr_options_set_num_input_queues() was not updated to reflect
this change, some calls to fstrm_iothr_get_input_queue() can now return
NULL, effectively preventing some dnstap data from being logged.
Whether this bug is triggered or not depends on thread scheduling order
and packet distribution between network threads, but will almost
certainly be triggered on any recursive resolver sooner or later.  Fix
by requesting the correct number of dnstap input queues to be allocated.

(cherry picked from commit 77dc091855)
2020-05-01 16:29:18 +02:00
..
bigtest update file headers 2018-03-15 18:33:13 -07:00
optional Fix 'Dereference of null pointer' from scan-build-10 2020-03-25 18:06:29 +01:00
pkcs11 Add ZLIB_LIBS to ISCLIBS 2020-02-28 15:22:59 +01:00
startperf Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
system Make dnstap work reliably with netmgr 2020-05-01 16:29:18 +02:00
testdata/wire move all optional tests from bin/tests to bin/tests/optional 2018-03-09 14:12:47 -08:00
win32 Disable MSB8028 warning 2020-04-16 07:56:38 +02:00
.gitignore Remove genrandom command and all usage of specific random files throughout the system test suite 2018-05-16 09:54:35 +02:00
cfg_test.c Refactor the isc_log API so it cannot fail on memory failures 2020-03-18 11:44:18 +01:00
fromhex.pl Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
headerdep_test.sh.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
Makefile.in Add ZLIB_LIBS to ISCLIBS 2020-02-28 15:22:59 +01:00
makejournal.c Refactor the isc_log API so it cannot fail on memory failures 2020-03-18 11:44:18 +01:00
named.conf update documentation 2019-06-05 07:49:57 -07:00
prepare-softhsm2.sh Fix "pkcs11" system test 2020-03-05 07:00:50 +00:00
wire_test.c Merge branch '46-enforce-clang-format-rules' into 'master' 2020-02-14 08:45:59 +00:00