This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/1096] New: interface list truncated when long
- From: "roland at gnu dot org" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 18 Jul 2005 02:57:26 -0000
- Subject: [Bug libc/1096] New: interface list truncated when long
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
This trunk patch should go into the 2.3 branch:
2005-06-13 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_sendreq,
__netlink_receive): Remove prototypes.
(__netlink_request): New prototype.
* sysdeps/unix/sysv/linux/ifaddrs.c: Include <alloca.h> and
<stdint.h>.
(__netlink_sendreq): Make static.
(__netlink_receive): Rename to...
(__netlink_request): ... this. Add type argument, call
__netlink_sendreq. If MSG_TRUNC is set after recvmsg, retry
with a bigger buffer. Don't record buffers that contain no
messages we are expecting.
(getifaddrs): Use __netlink_request instead of __netlink_sendreq
and __netlink_receive pairs. Formatting.
* sysdeps/unix/sysv/linux/if_index.c (if_nameindex_netlink): Use
__netlink_request instead of __netlink_sendreq and __netlink_receive
pair.
--
Summary: interface list truncated when long
Product: glibc
Version: 2.3.5
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: roland at gnu dot org
ReportedBy: roland at gnu dot org
CC: glibc-bugs at sources dot redhat dot com
OtherBugsDependingO 852
nThis:
http://sources.redhat.com/bugzilla/show_bug.cgi?id=1096
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.