From: "David S. Miller" <davem@redhat.com>
To: David Stevens <dlstevens@us.ibm.com>
Cc: netdev@oss.sgi.com
Subject: Re: [PATCH] trivial patch for if_indextoname()
Date: Wed, 26 May 2004 15:17:51 -0700 [thread overview]
Message-ID: <20040526151751.73752ea2.davem@redhat.com> (raw)
In-Reply-To: <OFD3BD5C6F.D104319A-ON88256EA0.00798187-88256EA0.007A2D7C@us.ibm.com>
On Wed, 26 May 2004 16:15:07 -0600
David Stevens <dlstevens@us.ibm.com> wrote:
> RFC3493 (section 4.2) specifies that an invalid interface name
> passed to if_indextoname() should return NULL with errno of ENXIO.
> The current code sets errno to ENODEV for this case.
>
> This could be remapped in glibc, but since the comment for
> kernel function dev_ifname() says it's specifically for
> if_indextoname(), maybe it should be fixed here.
How is the SIOCGIFNAME interface specified in this case?
(ie. what does BSD do?) I bet a bunch of stuff will
break if we change this.
next prev parent reply other threads:[~2004-05-26 22:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-26 22:15 [PATCH] trivial patch for if_indextoname() David Stevens
2004-05-26 22:17 ` David S. Miller [this message]
2004-05-26 22:34 ` David Stevens
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040526151751.73752ea2.davem@redhat.com \
--to=davem@redhat.com \
--cc=dlstevens@us.ibm.com \
--cc=netdev@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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 NNTP newsgroup(s).