This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug network/12926] getaddrinfo()/make_request() may spin forever
- From: "jim.king at simplivity dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 21 Oct 2015 14:17:41 +0000
- Subject: [Bug network/12926] getaddrinfo()/make_request() may spin forever
- Auto-submitted: auto-generated
- References: <bug-12926-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=12926
--- Comment #12 from James E. King, III <jim.king at simplivity dot com> ---
The issue I originally experienced was causes by defect 15946, however I still
believe that since the interface documentation for "recvmsg" clearly states
that 0 is a valid return for a disconnection then the glibc code must honor
that even if the kernel is not expected to use it. The kernel might change
because the interface documentation says that it can, and a future kernel
change might then break things in glibc, where glibc would enter an infinite
loop. So even if we never expect 0 to come back from recvmsg on the NETLINK
socket, we still need to code for it because it is a valid response.
--
You are receiving this mail because:
You are on the CC list for the bug.