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.
Created attachment 2773 [details] Patch to add support for infiniband device addresses
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?
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
Ulrich, Any update with regard to the proposed fix? Thanks, Vinay
I have no way to test it but I hope it's fixed in cvs. Reopen if necessary with detailed description of the problem.
(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