if_nameindex with 2.2 kernel

Ulrich Drepper drepper@redhat.com
Wed Jul 24 04:50:00 GMT 2002


On Wed, 2002-07-24 at 04:32, Philip Blundell wrote:
> Linux 2.2.x doesn't seem to accept ioctl(SIOCGIFCONF) on an AF_UNIX
> socket.  This is causing if_nametoindex to fail under these kernels,
> since AF_UNIX is __opensock's first preference.

The mainline contains a change which should help.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
URL: <http://sourceware.org/pipermail/libc-hacker/attachments/20020724/1247fedd/attachment.sig>


More information about the Libc-hacker mailing list