This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] glibc: Terminate process on invalid netlink response from kernel [BZ #12926]
- From: Hannes Frederic Sowa <hannes at stressinduktion dot org>
- To: Florian Weimer <fweimer at redhat dot com>, GNU C Library <libc-alpha at sourceware dot org>, davem at davemloft dot net
- Cc: Hannes Sowa <hannes at redhat dot com>, netdev at vger dot kernel dot org
- Date: Tue, 03 Nov 2015 14:48:12 +0100
- Subject: Re: [PATCH] glibc: Terminate process on invalid netlink response from kernel [BZ #12926]
- Authentication-results: sourceware.org; auth=none
- References: <562A9391 dot 1040806 at redhat dot com>
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