This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] resolv: Enable full ICMP errors for UDP DNS sockets [BZ #24047]


* 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]