From 39bd76df3d61c6d83c5aa8bab06c7c1dbe7159ac Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Tue, 27 Jun 2017 10:21:34 +0200 Subject: resolv: Avoid timeouts in test-resolv-res-init, test-resolv-res_init-thread Some Linux kernels have very aggressive ICMP rate limiting on the loopback interface. This commit introduces a minimal echoing DNS server inside the network namespace, so that there is no need for ICMP error messages anymore. --- ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 279059b..f885eb4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2017-06-27 Florian Weimer + Work around test timeouts with ICMP rate limiting on localhost. + * resolv/tst-resolv-res_init-skeleton.c (start_dummy_server): New + function. + (do_test): Call it. + +2017-06-27 Florian Weimer + Call _res_hconf_init from __res_vinit. * inet/gethstbyad_r.c (NEED__RES_HCONF): Remove. * inet/gethstbynm2_r.c (NEED__RES_HCONF): Likewise. -- cgit v1.1