bind9/bin/named
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
..
include Refactor the isc_log API so it cannot fail on memory failures 2020-03-18 11:44:18 +01:00
unix Don't change effective uid when we already dropped privileges 2020-04-28 17:29:35 +02:00
win32 Disable MSB8028 warning 2020-04-16 07:56:38 +02:00
.gitignore [master] add libns and remove liblwres 2017-09-08 13:47:34 -07:00
bind9.xsl use h?+script selectors 2019-07-25 08:03:10 -04:00
bind9.xsl.h Merge branch '46-just-use-clang-format-to-reformat-sources' into 'master' 2020-02-12 14:51:18 +00:00
builtin.c Merge branch '46-enforce-clang-format-rules' into 'master' 2020-02-14 08:45:59 +00:00
config.c Use the new sorting rules to regroup #include headers 2020-03-11 08:55:12 +00:00
control.c Use the new sorting rules to regroup #include headers 2020-03-11 08:55:12 +00:00
controlconf.c Use the new sorting rules to regroup #include headers 2020-03-11 08:55:12 +00:00
convertxsl.pl Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
fuzz.c Use the new sorting rules to regroup #include headers 2020-03-11 08:55:12 +00:00
geoip.c Merge branch 'each-style-tweak' into 'master' 2020-02-14 05:35:29 +00:00
log.c Refactor the isc_log API so it cannot fail on memory failures 2020-03-18 11:44:18 +01:00
logconf.c Refactor the isc_log API so it cannot fail on memory failures 2020-03-18 11:44:18 +01:00
main.c Fix 'Dereference of null pointer' from scan-build-10 2020-03-25 18:06:29 +01:00
Makefile.in Convert the configure.ac rules for zlib library to use pkg-config 2019-07-31 14:54:40 +02:00
named.8 prep v9.16.0 2020-02-12 20:03:16 +00:00
named.conf.5 regen v9_16 2020-04-16 23:07:41 +02:00
named.conf.docbook regen v9_16 2020-04-16 23:07:41 +02:00
named.conf.html prep v9.16.0 2020-02-12 20:03:16 +00:00
named.docbook CHANGES note, update README.md an manpage. 2020-02-07 09:01:50 +01:00
named.html prep v9.16.0 2020-02-12 20:03:16 +00:00
server.c Make dnstap work reliably with netmgr 2020-05-01 16:29:18 +02:00
statschannel.c Merge if blocks in statschannel.c 2020-04-03 10:04:16 +02:00
tkeyconf.c Use the new sorting rules to regroup #include headers 2020-03-11 08:55:12 +00:00
tsigconf.c Merge branch 'each-style-tweak' into 'master' 2020-02-14 05:35:29 +00:00
zoneconf.c Redesign dnssec sign statistics 2020-04-03 10:03:30 +02:00