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

Florian Weimer fweimer@redhat.com
Thu Jun 29 18:35:00 GMT 2017


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?

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


More information about the Libc-alpha mailing list