[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4C2A0C22.4010202@linux-ipv6.org>
Date: Wed, 30 Jun 2010 00:07:14 +0900
From: YOSHIFUJI Hideaki <yoshfuji@...ux-ipv6.org>
To: Eric Dumazet <eric.dumazet@...il.com>
CC: David Miller <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>,
YOSHIFUJI Hideaki <yoshfuji@...ux-ipv6.org>
Subject: Re: [PATCH net-next-2.6] snmp: 64bit ipstats_mib for all arches
Hello.
Thank you for doing this work!
Eric Dumazet wrote:
> /proc/net/snmp and /proc/net/netstat expose SNMP counters.
>
> Width of these counters is either 32 or 64 bits, depending on the size
> of "unsigned long" in kernel.
>
> This means user program parsing these files must already be prepared to
> deal with 64bit values, regardless of user program being 32 or 64 bit.
Well, I'm rather not in favor of breaking user-space apps.
How about leaving legacy procfs as-is and fix netlink-side only?
--yoshfuji
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists