]> git.ipfire.org Git - thirdparty/bind9.git/log
thirdparty/bind9.git
6 years agoxxx tmp NG-lowac
Witold Kręcicki [Mon, 3 Feb 2020 12:20:00 +0000 (13:20 +0100)] 
xxx tmp

7 years agoRevert "Test: initial LOWAC capacity at 100k"
Witold Kręcicki [Wed, 17 Oct 2018 19:06:06 +0000 (19:06 +0000)] 
Revert "Test: initial LOWAC capacity at 100k"

This reverts commit 0e52562e4eea06a4c1764ece09bc1bffcae51d32.

7 years agoTest: initial LOWAC capacity at 100k
Witold Kręcicki [Wed, 17 Oct 2018 18:13:33 +0000 (18:13 +0000)] 
Test: initial LOWAC capacity at 100k

7 years agoReset affinity of LOWAC worker
Witold Kręcicki [Wed, 17 Oct 2018 18:11:30 +0000 (18:11 +0000)] 
Reset affinity of LOWAC worker

7 years agoCheck if we have a view before LOWAC-caching
Witold Kręcicki [Wed, 17 Oct 2018 16:34:17 +0000 (16:34 +0000)] 
Check if we have a view before LOWAC-caching

7 years agoUse memcpy instead of byte-by-byte in dns_name_fromwire
Witold Kręcicki [Wed, 17 Oct 2018 16:19:45 +0000 (16:19 +0000)] 
Use memcpy instead of byte-by-byte in dns_name_fromwire

7 years agoMinor fixes
Witold Kręcicki [Wed, 17 Oct 2018 16:12:26 +0000 (16:12 +0000)] 
Minor fixes

7 years agoDon't overuse isc_time_now(), use local time
Witold Kręcicki [Wed, 17 Oct 2018 15:00:37 +0000 (15:00 +0000)] 
Don't overuse isc_time_now(), use local time

7 years agoFix atomic_ macros
Witold Kręcicki [Wed, 17 Oct 2018 14:59:59 +0000 (14:59 +0000)] 
Fix atomic_ macros

7 years agoMake stats inc/dec inlined macros
Witold Kręcicki [Wed, 17 Oct 2018 14:48:00 +0000 (14:48 +0000)] 
Make stats inc/dec inlined macros

7 years agoRevert "Use memory_order_acq_rel"
Witold Kręcicki [Wed, 17 Oct 2018 14:10:21 +0000 (14:10 +0000)] 
Revert "Use memory_order_acq_rel"

This reverts commit 673792d111965cf93c79a39005024b55ad4d8ba8.

7 years agoWiP
Witold Kręcicki [Tue, 16 Oct 2018 19:33:23 +0000 (19:33 +0000)] 
WiP

7 years agoAllocate memory for blob:
Witold Kręcicki [Tue, 16 Oct 2018 12:19:47 +0000 (12:19 +0000)] 
Allocate memory for blob:

7 years agoLonger cache time
Witold Kręcicki [Tue, 16 Oct 2018 12:15:06 +0000 (12:15 +0000)] 
Longer cache time

7 years agoAlways enqueue removal after replacement
Witold Kręcicki [Tue, 16 Oct 2018 11:57:57 +0000 (11:57 +0000)] 
Always enqueue removal after replacement

7 years agoFixes
Witold Kręcicki [Tue, 16 Oct 2018 11:17:57 +0000 (11:17 +0000)] 
Fixes

7 years agoMark unused memory
Witold Kręcicki [Tue, 16 Oct 2018 11:08:14 +0000 (11:08 +0000)] 
Mark unused memory

7 years agoUse memory_order_acq_rel
Witold Kręcicki [Tue, 16 Oct 2018 10:46:55 +0000 (10:46 +0000)] 
Use memory_order_acq_rel

7 years agoAdd some magic checks
Witold Kręcicki [Tue, 16 Oct 2018 10:34:05 +0000 (10:34 +0000)] 
Add some magic checks

7 years agoFixes
Witold Kręcicki [Tue, 16 Oct 2018 10:11:40 +0000 (10:11 +0000)] 
Fixes

7 years agoRevert "Use common isc_time"
Witold Kręcicki [Tue, 16 Oct 2018 10:08:41 +0000 (10:08 +0000)] 
Revert "Use common isc_time"

This reverts commit 1c5ba6ba8af5fb7e65456ef8b846afdc874b77a2.

7 years agoIterator fix
Witold Kręcicki [Tue, 16 Oct 2018 10:03:56 +0000 (10:03 +0000)] 
Iterator fix

7 years agoUse common isc_time
Witold Kręcicki [Tue, 16 Oct 2018 09:39:56 +0000 (09:39 +0000)] 
Use common isc_time

7 years agoCleanup better
Witold Kręcicki [Tue, 16 Oct 2018 09:32:57 +0000 (09:32 +0000)] 
Cleanup better

7 years agoMore fiddling
Witold Kręcicki [Sun, 14 Oct 2018 17:24:20 +0000 (17:24 +0000)] 
More fiddling

7 years agoSome fiddling
Witold Kręcicki [Sun, 14 Oct 2018 11:25:32 +0000 (11:25 +0000)] 
Some fiddling

7 years agoCleaning up
Witold Kręcicki [Sun, 14 Oct 2018 10:26:15 +0000 (10:26 +0000)] 
Cleaning up

7 years agoCleaning up
Witold Kręcicki [Sat, 13 Oct 2018 13:21:42 +0000 (13:21 +0000)] 
Cleaning up

7 years agoTest: ck_fifo
Witold Kręcicki [Sat, 13 Oct 2018 09:56:17 +0000 (09:56 +0000)] 
Test: ck_fifo

7 years agoPoC LOWAC
Witold Kręcicki [Sat, 13 Oct 2018 09:35:20 +0000 (09:35 +0000)] 
PoC LOWAC

7 years agoGet rid of tasks-ready and tasks-running
Witold Kręcicki [Fri, 23 Nov 2018 12:07:40 +0000 (12:07 +0000)] 
Get rid of tasks-ready and tasks-running

7 years agoSet quantum in dispatch
Witold Kręcicki [Fri, 23 Nov 2018 18:44:06 +0000 (18:44 +0000)] 
Set quantum in dispatch

7 years agoAdd tasks_waiting field in taskqueue
Witold Kręcicki [Fri, 23 Nov 2018 17:04:07 +0000 (17:04 +0000)] 
Add tasks_waiting field in taskqueue

7 years agoRemove configurable default taskmgr quantum, it was always default anyway
Witold Kręcicki [Fri, 23 Nov 2018 16:46:31 +0000 (16:46 +0000)] 
Remove configurable default taskmgr quantum, it was always default anyway

7 years agopseudosend
Witold Kręcicki [Sat, 24 Nov 2018 01:11:39 +0000 (01:11 +0000)] 
pseudosend

7 years agoMerge branch 'wpk-fix-recursive-performance' into 'master'
Witold Krecicki [Fri, 23 Nov 2018 09:59:23 +0000 (04:59 -0500)] 
Merge branch 'wpk-fix-recursive-performance' into 'master'

Bound tasks for resolver; Task quantum tweaks.

See merge request isc-projects/bind9!1117

7 years ago- isc_task_create_bound - create a task bound to specific task queue
Witold Kręcicki [Wed, 21 Nov 2018 09:50:50 +0000 (09:50 +0000)] 
- isc_task_create_bound - create a task bound to specific task queue
  If we know that we'll have a task pool doing specific thing it's better
  to use this knowledge and bind tasks to task queues, this behaves better
  than randomly choosing the task queue.

- use bound resolver tasks - we have a pool of tasks doing resolutions,
  we can spread the load evenly using isc_task_create_bound

- quantum set universally to 25

7 years agoMerge branch 'ondrej-shorten-job-names' into 'master'
Ondřej Surý [Fri, 23 Nov 2018 09:08:08 +0000 (04:08 -0500)] 
Merge branch 'ondrej-shorten-job-names' into 'master'

Change the job names, so they are more useful in pipeline overview

See merge request isc-projects/bind9!1127

7 years agoChange the job names, so they are more useful in pipeline overview
Ondřej Surý [Thu, 22 Nov 2018 16:15:12 +0000 (17:15 +0100)] 
Change the job names, so they are more useful in pipeline overview

7 years agoMerge branch '729-init_hasreuseport-will-not-work-on-systems-w-o-ipv4' into 'master'
Mark Andrews [Fri, 23 Nov 2018 04:31:34 +0000 (23:31 -0500)] 
Merge branch '729-init_hasreuseport-will-not-work-on-systems-w-o-ipv4' into 'master'

Resolve "init_hasreuseport will not work on systems w/o IPv4"

Closes #729

See merge request isc-projects/bind9!1126

7 years agohandle systems without IPv4
Mark Andrews [Mon, 19 Nov 2018 01:27:56 +0000 (12:27 +1100)] 
handle systems without IPv4

7 years agoMerge branch '705-negative-value-passed-to-close-on-socket-c-and-resource-leak' into...
Mark Andrews [Fri, 23 Nov 2018 01:00:30 +0000 (20:00 -0500)] 
Merge branch '705-negative-value-passed-to-close-on-socket-c-and-resource-leak' into 'master'

Resolve "negative value passed to close on socket.c and resource leak"

Closes #705

See merge request isc-projects/bind9!1095

7 years agoaddress resource leak; don't call close() on socket error;
Mark Andrews [Mon, 19 Nov 2018 01:27:56 +0000 (12:27 +1100)] 
address resource leak; don't call close() on socket error;

7 years agoMerge branch '715-side-effect-in-assertion-in-name_test-c' into 'master'
Mark Andrews [Thu, 22 Nov 2018 23:19:01 +0000 (18:19 -0500)] 
Merge branch '715-side-effect-in-assertion-in-name_test-c' into 'master'

Resolve "side effect in assertion in name_test.c"

Closes #715

See merge request isc-projects/bind9!1102

7 years agoaddress coverity side effect in assert warning
Mark Andrews [Mon, 19 Nov 2018 20:23:37 +0000 (07:23 +1100)] 
address coverity side effect in assert warning

7 years agoMerge branch '717-bin-named-server-c-load_zones-can-leak-memory' into 'master'
Mark Andrews [Thu, 22 Nov 2018 22:57:18 +0000 (17:57 -0500)] 
Merge branch '717-bin-named-server-c-load_zones-can-leak-memory' into 'master'

Resolve "bin/named/server.c:load_zones can leak memory"

Closes #717

See merge request isc-projects/bind9!1104

7 years agodecrement zl->refs on error
Mark Andrews [Tue, 20 Nov 2018 02:03:06 +0000 (13:03 +1100)] 
decrement zl->refs on error

7 years agoMerge branch '716-remove-logically-dead-code-try-2' into 'master'
Mark Andrews [Thu, 22 Nov 2018 22:17:43 +0000 (17:17 -0500)] 
Merge branch '716-remove-logically-dead-code-try-2' into 'master'

Resolve "remove logically dead code try #2"

Closes #716

See merge request isc-projects/bind9!1103

7 years agoremove dead code
Mark Andrews [Mon, 19 Nov 2018 20:52:08 +0000 (07:52 +1100)] 
remove dead code

7 years agoMerge branch '706-remove-isc_mem_set_get_quota' into 'master'
Ondřej Surý [Thu, 22 Nov 2018 16:03:37 +0000 (11:03 -0500)] 
Merge branch '706-remove-isc_mem_set_get_quota' into 'master'

Resolve "Unchecked isc_mem_get's in dnssec-signzone.c and socket.c"

Closes #706

See merge request isc-projects/bind9!1093

7 years agoMemory allocations must be fatal even when default_memalloc is not used
Ondřej Surý [Sun, 18 Nov 2018 08:19:38 +0000 (09:19 +0100)] 
Memory allocations must be fatal even when default_memalloc is not used

7 years agoCleanup lib/isc/mem.c after failed allocations made fatal
Ondřej Surý [Sun, 18 Nov 2018 08:15:46 +0000 (09:15 +0100)] 
Cleanup lib/isc/mem.c after failed allocations made fatal

7 years agoRemove isc_mem_{set,get}quota unused functions
Ondřej Surý [Sat, 17 Nov 2018 08:40:40 +0000 (09:40 +0100)] 
Remove isc_mem_{set,get}quota unused functions

7 years agoMerge branch '726-fix-NetBSD-build' into 'master'
Ondřej Surý [Thu, 22 Nov 2018 14:43:56 +0000 (09:43 -0500)] 
Merge branch '726-fix-NetBSD-build' into 'master'

Fix the build on NetBSD due to the differences in pthread implementation.

Closes #726

See merge request isc-projects/bind9!1123

7 years agoFix the build on NetBSD due to the differences in pthread implementation.
Håvard Eidnes [Thu, 22 Nov 2018 14:15:11 +0000 (15:15 +0100)] 
Fix the build on NetBSD due to the differences in pthread implementation.

Signed-off-by: Ondřej Surý <ondrej@sury.org>
7 years agoMerge branch '670-add-coccinelle-unreachable-spatch' into 'master'
Ondřej Surý [Thu, 22 Nov 2018 14:28:15 +0000 (09:28 -0500)] 
Merge branch '670-add-coccinelle-unreachable-spatch' into 'master'

Add first coccinelle based precheck test to the GitLab CI

See merge request isc-projects/bind9!1042

7 years agoAdd couple more ISC_UNREACHABLE(); found thanks to coccinelle
Ondřej Surý [Thu, 8 Nov 2018 15:57:03 +0000 (22:57 +0700)] 
Add couple more ISC_UNREACHABLE(); found thanks to coccinelle

7 years agoAdd unreachable.spatch coccinelle recipe and run it in precheck CI phase
Ondřej Surý [Thu, 8 Nov 2018 15:38:46 +0000 (22:38 +0700)] 
Add unreachable.spatch coccinelle recipe and run it in precheck CI phase

7 years agoMerge branch 'wpk-crash-on-mutex-init-failure' into 'master'
Witold Krecicki [Thu, 22 Nov 2018 12:13:54 +0000 (07:13 -0500)] 
Merge branch 'wpk-crash-on-mutex-init-failure' into 'master'

isc_mutex_init and isc_condition_init failures are now fatal

See merge request isc-projects/bind9!1049

7 years ago- Make isc_mutex_destroy return void
Witold Kręcicki [Mon, 19 Nov 2018 10:31:09 +0000 (10:31 +0000)] 
- Make isc_mutex_destroy return void
- Make isc_mutexblock_init/destroy return void
- Minor cleanups

7 years agoisc_quota_init now returns 'void'
Ondřej Surý [Fri, 16 Nov 2018 14:45:01 +0000 (15:45 +0100)] 
isc_quota_init now returns 'void'

7 years agoAdd CHANGES entry for GL #674
Ondřej Surý [Thu, 15 Nov 2018 16:40:50 +0000 (17:40 +0100)] 
Add CHANGES entry for GL #674

7 years agoisc_mutex_init returns 'void'
Ondřej Surý [Fri, 16 Nov 2018 14:33:22 +0000 (15:33 +0100)] 
isc_mutex_init returns 'void'

7 years agoisc_condition_init returns 'void'
Ondřej Surý [Thu, 15 Nov 2018 16:20:36 +0000 (17:20 +0100)] 
isc_condition_init returns 'void'

7 years agoisc_mutex_init and isc_condition_init failures are now fatal
Witold Kręcicki [Wed, 14 Nov 2018 08:42:20 +0000 (08:42 +0000)] 
isc_mutex_init and isc_condition_init failures are now fatal

7 years agoMerge branch 'prep-release' v9.13.4
Tinderbox User [Thu, 22 Nov 2018 00:20:34 +0000 (00:20 +0000)] 
Merge branch 'prep-release'

7 years agoprep 9.13.4
Tinderbox User [Wed, 21 Nov 2018 23:58:39 +0000 (23:58 +0000)] 
prep 9.13.4

7 years agoMerge branch 'na-release-checklist-mods' into 'master'
Ondřej Surý [Wed, 21 Nov 2018 23:07:18 +0000 (18:07 -0500)] 
Merge branch 'na-release-checklist-mods' into 'master'

release checklist mods

See merge request isc-projects/bind9!1107

7 years agoUpdates to BIND release checklist.
Stephen Morris [Tue, 20 Nov 2018 14:38:35 +0000 (14:38 +0000)] 
Updates to BIND release checklist.

7 years agoMerge branch '305-fix-typo' into 'master'
Curtis Blackburn [Wed, 21 Nov 2018 22:54:31 +0000 (17:54 -0500)] 
Merge branch '305-fix-typo' into 'master'

Fix typo ISC_SHA256_DIGESTLENGHT -> ISC_SHA256_DIGESTLENGTH

See merge request isc-projects/bind9!1119

7 years agoFix typo ISC_SHA256_DIGESTLENGHT -> ISC_SHA256_DIGESTLENGTH
Ondřej Surý [Wed, 21 Nov 2018 22:34:44 +0000 (23:34 +0100)] 
Fix typo ISC_SHA256_DIGESTLENGHT -> ISC_SHA256_DIGESTLENGTH

7 years agoMerge branch '720-model-_assert_true-for-coverity' into 'master'
Mark Andrews [Wed, 21 Nov 2018 02:37:09 +0000 (21:37 -0500)] 
Merge branch '720-model-_assert_true-for-coverity' into 'master'

Resolve "model _assert_true() for coverity"

Closes #720

See merge request isc-projects/bind9!1108

7 years agomodel _assert_true
Mark Andrews [Wed, 21 Nov 2018 01:45:55 +0000 (12:45 +1100)] 
model _assert_true

7 years agoMerge branch '710-fix-socket-test' into 'master'
Ondřej Surý [Mon, 19 Nov 2018 17:02:41 +0000 (12:02 -0500)] 
Merge branch '710-fix-socket-test' into 'master'

Use proper casting in socket unit test

Closes #710

See merge request isc-projects/bind9!1099

7 years agoUse proper casting in socket unit test
Witold Kręcicki [Mon, 19 Nov 2018 09:43:23 +0000 (09:43 +0000)] 
Use proper casting in socket unit test

7 years agoDisable internal malloc for AddressSanitizer build
Ondřej Surý [Mon, 19 Nov 2018 05:49:05 +0000 (06:49 +0100)] 
Disable internal malloc for AddressSanitizer build

7 years agoAdd AddressSanitizer enabled build to GitLab CI
Ondřej Surý [Mon, 19 Nov 2018 05:47:08 +0000 (06:47 +0100)] 
Add AddressSanitizer enabled build to GitLab CI

7 years agoMerge branch '712-memleak-in-delv' into 'master'
Ondřej Surý [Mon, 19 Nov 2018 16:38:56 +0000 (11:38 -0500)] 
Merge branch '712-memleak-in-delv' into 'master'

Fix a small memleak in delv

Closes #712

See merge request isc-projects/bind9!1101

7 years agoFix a small memleak in delv
Witold Kręcicki [Mon, 19 Nov 2018 13:31:36 +0000 (13:31 +0000)] 
Fix a small memleak in delv

7 years agoMerge branch 'ondrej/use-strlcpy-in-wks_11.c' into 'master'
Witold Krecicki [Mon, 19 Nov 2018 09:45:47 +0000 (04:45 -0500)] 
Merge branch 'ondrej/use-strlcpy-in-wks_11.c' into 'master'

Use strlcpy in place where strncpy(s, ...) + s[sizeof(s)-1] = \0; was used

See merge request isc-projects/bind9!1097

7 years agoUse strlcpy in place where strncpy(s, ...) + s[sizeof(s)-1] = \0; was used
Ondřej Surý [Mon, 19 Nov 2018 06:10:43 +0000 (07:10 +0100)] 
Use strlcpy in place where strncpy(s, ...) + s[sizeof(s)-1] = \0; was used

7 years agoMerge branch '711-fix-memory-leak-in-lex_test' into 'master'
Ondřej Surý [Mon, 19 Nov 2018 06:57:34 +0000 (01:57 -0500)] 
Merge branch '711-fix-memory-leak-in-lex_test' into 'master'

Fix memory leak in lex_test.c

Closes #711

See merge request isc-projects/bind9!1098

7 years agoFix memory leak in lex_test.c
Ondřej Surý [Mon, 19 Nov 2018 06:47:05 +0000 (07:47 +0100)] 
Fix memory leak in lex_test.c

7 years agoMerge branch '702-unchecked-returns-in-server-c' into 'master'
Evan Hunt [Sat, 17 Nov 2018 00:53:31 +0000 (19:53 -0500)] 
Merge branch '702-unchecked-returns-in-server-c' into 'master'

Resolve "unchecked returns in server.c"

Closes #702

See merge request isc-projects/bind9!1076

7 years agoaddress unchecked return values
Mark Andrews [Fri, 16 Nov 2018 12:18:51 +0000 (23:18 +1100)] 
address unchecked return values

7 years agoMerge branch '703-resource-leak-in-dlz_filesystem_driver-c' into 'master'
Evan Hunt [Fri, 16 Nov 2018 23:16:10 +0000 (18:16 -0500)] 
Merge branch '703-resource-leak-in-dlz_filesystem_driver-c' into 'master'

Resolve "resource leak in dlz_filesystem_driver.c"

Closes #703

See merge request isc-projects/bind9!1074

7 years agocleanup allocated memory on error
Mark Andrews [Fri, 16 Nov 2018 03:42:22 +0000 (14:42 +1100)] 
cleanup allocated memory on error

7 years agoMerge branch '701-opts-is-incorrectly-declared-inside-the-loop' into 'master'
Evan Hunt [Fri, 16 Nov 2018 22:49:11 +0000 (17:49 -0500)] 
Merge branch '701-opts-is-incorrectly-declared-inside-the-loop' into 'master'

Resolve "opts is incorrectly declared inside the loop"

Closes #701

See merge request isc-projects/bind9!1075

7 years agodelare opts outside of loop; cleanup; rename variable
Mark Andrews [Fri, 16 Nov 2018 03:45:16 +0000 (14:45 +1100)] 
delare opts outside of loop; cleanup; rename variable

7 years agoMerge branch 'cmocka-silence' into 'master'
Evan Hunt [Fri, 16 Nov 2018 20:55:41 +0000 (15:55 -0500)] 
Merge branch 'cmocka-silence' into 'master'

remove (or hide behind a 'verbose' flag) extra output from unit tests

See merge request isc-projects/bind9!1077

7 years agoremove (or hide behind a 'verbose' flag) extra output from system tests
Evan Hunt [Fri, 16 Nov 2018 08:19:06 +0000 (08:19 +0000)] 
remove (or hide behind a 'verbose' flag) extra output from system tests

7 years agoMerge branch 'fix-debug-output' into 'master'
Evan Hunt [Fri, 16 Nov 2018 19:40:25 +0000 (14:40 -0500)] 
Merge branch 'fix-debug-output' into 'master'

echo debug output (D:text) the same as informational (I:text)

See merge request isc-projects/bind9!1081

7 years agoecho debug output (D:text) the same as informational (I:text)
Evan Hunt [Fri, 16 Nov 2018 18:05:07 +0000 (10:05 -0800)] 
echo debug output (D:text) the same as informational (I:text)

7 years agoMerge branch '648-fix-Windows-build-after-OpenSSL-changes' into 'master'
Ondřej Surý [Fri, 16 Nov 2018 13:56:57 +0000 (08:56 -0500)] 
Merge branch '648-fix-Windows-build-after-OpenSSL-changes' into 'master'

Add OpenSSL 1.1.0+ defines for Windows build

Closes #648

See merge request isc-projects/bind9!1078

7 years agoAdd OpenSSL 1.1.0+ defines for Windows build
Ondřej Surý [Fri, 16 Nov 2018 13:21:14 +0000 (14:21 +0100)] 
Add OpenSSL 1.1.0+ defines for Windows build

7 years agoMerge branch '4-warn-not-fail' into 'master'
Ondřej Surý [Fri, 16 Nov 2018 13:40:14 +0000 (08:40 -0500)] 
Merge branch '4-warn-not-fail' into 'master'

warn, rather than failing, if kyua is not present

See merge request isc-projects/bind9!1067

7 years agowarn, rather than failing, if kyua is not present
Evan Hunt [Thu, 15 Nov 2018 21:27:09 +0000 (13:27 -0800)] 
warn, rather than failing, if kyua is not present

7 years agoMerge branch '700-windows-builds-failing' into 'master'
Ondřej Surý [Fri, 16 Nov 2018 13:13:26 +0000 (08:13 -0500)] 
Merge branch '700-windows-builds-failing' into 'master'

Resolve "Windows builds failing"

Closes #700

See merge request isc-projects/bind9!1073

7 years agocheck for missing #include <isc/strerr.h>
Mark Andrews [Fri, 16 Nov 2018 01:23:08 +0000 (12:23 +1100)] 
check for missing #include <isc/strerr.h>

7 years ago(no commit message)
Mark Andrews [Fri, 16 Nov 2018 01:23:36 +0000 (12:23 +1100)]