[PATCH] resolv: Do not copy IPv4 addresses to IPv6 address array

Florian Weimer fweimer@redhat.com
Fri Jun 30 18:06:00 GMT 2017


On 06/29/2017 08:35 PM, Florian Weimer wrote:
> While working on the resolver code, I discovered some address copying
> which appears to be unnecessary.  The attached patch removes that.
> 
> The comments refer to timing data, but we currently do not have that.
> 
> Andreas, if I recall correctly, you wrote get_nsaddr.  What do you think
> about this change?

This is the patch rebased to current master.

Thanks,
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: res_send-ns-2.patch
Type: text/x-patch
Size: 5512 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20170630/ce8ae941/attachment.bin>


More information about the Libc-alpha mailing list