| To: | David Stevens <dlstevens@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] trivial patch for if_indextoname() |
| From: | "David S. Miller" <davem@xxxxxxxxxx> |
| Date: | Wed, 26 May 2004 15:17:51 -0700 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <OFD3BD5C6F.D104319A-ON88256EA0.00798187-88256EA0.007A2D7C@xxxxxxxxxx> |
| References: | <OFD3BD5C6F.D104319A-ON88256EA0.00798187-88256EA0.007A2D7C@xxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Wed, 26 May 2004 16:15:07 -0600 David Stevens <dlstevens@xxxxxxxxxx> 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. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 0/5] 2.4.27-pre3 pcnet32.c, Don Fry |
|---|---|
| Next by Date: | Re: [PATCH] trivial patch for if_indextoname(), David Stevens |
| Previous by Thread: | [PATCH] trivial patch for if_indextoname(), David Stevens |
| Next by Thread: | Re: [PATCH] trivial patch for if_indextoname(), David Stevens |
| Indexes: | [Date] [Thread] [Top] [All Lists] |