[PATCH] glibc: Terminate process on invalid netlink response from kernel [BZ #12926]

Hannes Frederic Sowa hannes@stressinduktion.org
Tue Nov 3 13:48:00 GMT 2015


Hello,

On Fri, Oct 23, 2015, at 21:07, Florian Weimer wrote:
> (By the way, we'd also love to have a better kernel interface to fulfill
> the needs for getaddrinfo address sorting.  The netlink requests we
> currently use are much too slow if the host has many addresses
> configured.)

One solution would be to finish the IPv6 ioctl interface to list
addresses. The ioctl interface would need less memory allocations and is
a synchronous interface which would make it much more easier for glibc
to deal with. No timeouts and retries like with netlink are necessary.

David, would such code still be accepted?

Thanks,
Hannes



More information about the Libc-alpha mailing list