public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/6589] New: getifaddrs returns entries with invalid ifa_name
@ 2008-06-04 8:54 vinay at linux dot vnet dot ibm dot com
2008-06-04 8:56 ` [Bug libc/6589] " vinay at linux dot vnet dot ibm dot com
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: vinay at linux dot vnet dot ibm dot com @ 2008-06-04 8:54 UTC (permalink / raw)
To: glibc-bugs
On a system with ipv6 interfaces of Infiniband devices, getifaddrs returns
interface names for the ib entries as junk. The reason for this is that the
sockaddr_ll structure fails to accommodate 20 byte IB device addresses. By
extending the sll_addr field (currently 8 bytes) to 24 bytes, the issue is solved.
--
Summary: getifaddrs returns entries with invalid ifa_name
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: vinay at linux dot vnet dot ibm dot com
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=6589
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug libc/6589] getifaddrs returns entries with invalid ifa_name
2008-06-04 8:54 [Bug libc/6589] New: getifaddrs returns entries with invalid ifa_name vinay at linux dot vnet dot ibm dot com
@ 2008-06-04 8:56 ` vinay at linux dot vnet dot ibm dot com
2008-06-04 9:03 ` vinay at linux dot vnet dot ibm dot com
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: vinay at linux dot vnet dot ibm dot com @ 2008-06-04 8:56 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From vinay at linux dot vnet dot ibm dot com 2008-06-04 08:55 -------
Created an attachment (id=2773)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=2773&action=view)
Patch to add support for infiniband device addresses
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6589
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug libc/6589] getifaddrs returns entries with invalid ifa_name
2008-06-04 8:54 [Bug libc/6589] New: getifaddrs returns entries with invalid ifa_name vinay at linux dot vnet dot ibm dot com
2008-06-04 8:56 ` [Bug libc/6589] " vinay at linux dot vnet dot ibm dot com
@ 2008-06-04 9:03 ` vinay at linux dot vnet dot ibm dot com
2008-06-13 6:18 ` drepper at redhat dot com
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: vinay at linux dot vnet dot ibm dot com @ 2008-06-04 9:03 UTC (permalink / raw)
To: glibc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |suzuki at in dot ibm dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=6589
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug libc/6589] getifaddrs returns entries with invalid ifa_name
2008-06-04 8:54 [Bug libc/6589] New: getifaddrs returns entries with invalid ifa_name vinay at linux dot vnet dot ibm dot com
2008-06-04 8:56 ` [Bug libc/6589] " vinay at linux dot vnet dot ibm dot com
2008-06-04 9:03 ` vinay at linux dot vnet dot ibm dot com
@ 2008-06-13 6:18 ` drepper at redhat dot com
2008-06-19 7:55 ` vinay at linux dot vnet dot ibm dot com
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: drepper at redhat dot com @ 2008-06-13 6:18 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From drepper at redhat dot com 2008-06-13 06:18 -------
This does not work.
First, the kernel defines the structure exactly as we do.
Second, changing this structure changes the ABI.
How does the kernel deal with this?
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
http://sourceware.org/bugzilla/show_bug.cgi?id=6589
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug libc/6589] getifaddrs returns entries with invalid ifa_name
2008-06-04 8:54 [Bug libc/6589] New: getifaddrs returns entries with invalid ifa_name vinay at linux dot vnet dot ibm dot com
` (2 preceding siblings ...)
2008-06-13 6:18 ` drepper at redhat dot com
@ 2008-06-19 7:55 ` vinay at linux dot vnet dot ibm dot com
2008-07-22 11:18 ` vinay at linux dot vnet dot ibm dot com
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: vinay at linux dot vnet dot ibm dot com @ 2008-06-19 7:55 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From vinay at linux dot vnet dot ibm dot com 2008-06-19 07:54 -------
Ulrich,
I came across this thread that describes how the kernel handles
device addresses > 8 bytes ::
http://lists.openfabrics.org/pipermail/general/2005-September/010986.html
Thanks,
Vinay
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6589
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug libc/6589] getifaddrs returns entries with invalid ifa_name
2008-06-04 8:54 [Bug libc/6589] New: getifaddrs returns entries with invalid ifa_name vinay at linux dot vnet dot ibm dot com
` (3 preceding siblings ...)
2008-06-19 7:55 ` vinay at linux dot vnet dot ibm dot com
@ 2008-07-22 11:18 ` vinay at linux dot vnet dot ibm dot com
2008-08-13 7:00 ` drepper at redhat dot com
2008-08-14 8:54 ` vinay at linux dot vnet dot ibm dot com
6 siblings, 0 replies; 8+ messages in thread
From: vinay at linux dot vnet dot ibm dot com @ 2008-07-22 11:18 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From vinay at linux dot vnet dot ibm dot com 2008-07-22 11:18 -------
Ulrich,
Any update with regard to the proposed fix?
Thanks,
Vinay
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6589
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug libc/6589] getifaddrs returns entries with invalid ifa_name
2008-06-04 8:54 [Bug libc/6589] New: getifaddrs returns entries with invalid ifa_name vinay at linux dot vnet dot ibm dot com
` (4 preceding siblings ...)
2008-07-22 11:18 ` vinay at linux dot vnet dot ibm dot com
@ 2008-08-13 7:00 ` drepper at redhat dot com
2008-08-14 8:54 ` vinay at linux dot vnet dot ibm dot com
6 siblings, 0 replies; 8+ messages in thread
From: drepper at redhat dot com @ 2008-08-13 7:00 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From drepper at redhat dot com 2008-08-13 06:58 -------
I have no way to test it but I hope it's fixed in cvs. Reopen if necessary with
detailed description of the problem.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=6589
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug libc/6589] getifaddrs returns entries with invalid ifa_name
2008-06-04 8:54 [Bug libc/6589] New: getifaddrs returns entries with invalid ifa_name vinay at linux dot vnet dot ibm dot com
` (5 preceding siblings ...)
2008-08-13 7:00 ` drepper at redhat dot com
@ 2008-08-14 8:54 ` vinay at linux dot vnet dot ibm dot com
6 siblings, 0 replies; 8+ messages in thread
From: vinay at linux dot vnet dot ibm dot com @ 2008-08-14 8:54 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From vinay at linux dot vnet dot ibm dot com 2008-08-14 08:52 -------
(In reply to comment #5)
> I have no way to test it but I hope it's fixed in cvs. Reopen if necessary with
> detailed description of the problem.
Tested with cvs. Yes, its fixed.
Thanks,
Vinay
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6589
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-08-14 8:54 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-04 8:54 [Bug libc/6589] New: getifaddrs returns entries with invalid ifa_name vinay at linux dot vnet dot ibm dot com
2008-06-04 8:56 ` [Bug libc/6589] " vinay at linux dot vnet dot ibm dot com
2008-06-04 9:03 ` vinay at linux dot vnet dot ibm dot com
2008-06-13 6:18 ` drepper at redhat dot com
2008-06-19 7:55 ` vinay at linux dot vnet dot ibm dot com
2008-07-22 11:18 ` vinay at linux dot vnet dot ibm dot com
2008-08-13 7:00 ` drepper at redhat dot com
2008-08-14 8:54 ` vinay at linux dot vnet dot ibm dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).