lkml.org 
[lkml]   [2004]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: inconsistency between SIOCGIFCONF and SIOCGIFNAME
David S. Miller wrote:

> Anyways, I guess we could do your suggestion. SIOCGIFCONF
> is actually implemented using per-protocol handlers. So, for
> example there is an ipv4 handler, an ipv6 one, etc. We'd need
> to make the change for all of them.

I might not look for the right thing, but there are only two places
where register_gifconf is used: in net/ipv4/devinet.c and
net/decnet/dn_dev.c. There is no support for IPv6-only interfaces and
interfaces for other protocols. So in addition to your change only the
DECnet stuff needs changing.


> I enclose a potential implementation for the ipv4 instance.
> Please at least make sure it does what you want.

I'll try the patch asap. Thanks,

--
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:04    [from the cache]
©2003-2011 Jasper Spaans