netdev
[Top] [All Lists]

Re: [RFC/PATCH] ICMPv6 MIB stats per-interface

To: davem@xxxxxxxxxx
Subject: Re: [RFC/PATCH] ICMPv6 MIB stats per-interface
From: YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxxxxxx>
Date: Tue, 15 Apr 2003 15:59:38 +0900 (JST)
Cc: rddunlap@xxxxxxxx, linux-net@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx, yoshfuji@xxxxxxxxxxxxxx
In-reply-to: <20030415.014047.39346510.yoshfuji@xxxxxxxxxxxxxx>
Organization: USAGI Project
References: <20030415.002915.71906095.yoshfuji@xxxxxxxxxxxxxx> <20030414.090610.117741299.davem@xxxxxxxxxx> <20030415.014047.39346510.yoshfuji@xxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
In article <20030415.014047.39346510.yoshfuji@xxxxxxxxxxxxxx> (at Tue, 15 Apr 
2003 01:40:47 +0900 (JST)), YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxxxxxx> 
says:

> In article <20030414.090610.117741299.davem@xxxxxxxxxx> (at Mon, 14 Apr 2003 
> 09:06:10 -0700 (PDT)), "David S. Miller" <davem@xxxxxxxxxx> says:
> 
> > So we'd then have /proc/net/dev_snmp6/{lo,eth0,eth1} etc.
> > 
> > Ok?
> 
> Okay.  I'd like to see ifIndex in that file, too.

BTW, for example, if we do
 # ip link set eth9 name foobar
if_indextoname() will return foobar. 

we, however, will see /proc/sys/net/ipv6/conf/eth9 instead of 
/proc/sys/net/ipv6/conf/foobar.  This is not good.

Is this just a bug not having NETDEV_CHANGENAME handler to 
rename it?

-- 
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@xxxxxxxxxxxxxx>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF  80D8 4807 F894 E062 0EEA

<Prev in Thread] Current Thread [Next in Thread>