This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] resolv: Enable full ICMP errors for UDP DNS sockets [BZ #24047]
- From: Florian Weimer <fweimer at redhat dot com>
- To: libc-alpha at sourceware dot org
- Date: Thu, 07 Mar 2019 12:21:24 +0100
- Subject: Re: [PATCH] resolv: Enable full ICMP errors for UDP DNS sockets [BZ #24047]
- References: <87mumi6075.fsf@oldenburg2.str.redhat.com>
* Florian Weimer:
> The Linux kernel suppresses some ICMP error messages by default for
> UDP sockets. This commit enables full ICMP error reporting,
> hopefully resulting in faster failover to working name servers.
>
> (This change has seen some real-world testing in Fedora 30 and Fedora
> rawhide, with no issues reported.)
>
> 2019-02-26 Florian Weimer <fweimer@redhat.com>
>
> [BZ #24047]
> resolv: Enable full ICMP errors for UDP DNS sockets
> * resolv/res_enable_icmp.c: New file.
> * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
> * resolv/resolv-internal.h (__res_enable_icmp): Declare.
> * resolv/res_send.c (reopen): Call __res_enable_icmp on new
> socket.
I plan to commit this soon.
Thanks,
Florian