netdev
[Top] [All Lists]

Re: [PATCH] /proc/net/stat/rt_cache has a wrong header

To: Stephen Hemminger <shemminger@xxxxxxxx>
Subject: Re: [PATCH] /proc/net/stat/rt_cache has a wrong header
From: Eric Dumazet <dada1@xxxxxxxxxxxxx>
Date: Fri, 18 Mar 2005 18:14:00 +0100
Cc: acme@xxxxxxxxxxxxxxxx, "David S. Miller" <davem@xxxxxxxxxx>, netdev@xxxxxxxxxxx
In-reply-to: <20050318085056.0869394b@dxpl.pdx.osdl.net>
References: <4238C388.5040303@cosmosbay.com> <423AC418.6080903@cosmosbay.com> <20050318085056.0869394b@dxpl.pdx.osdl.net>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)
Stephen Hemminger a écrit :
On Fri, 18 Mar 2005 13:05:44 +0100
Eric Dumazet <dada1@xxxxxxxxxxxxx> wrote:


Hello

The header of /proc/net/stat/rt_cache misses the 'in_slow_mc' field.
This patch adds it.


Current iproute2 tools adapt to additional fields, but wouldn't this be breaking
the API for other tools? (if any)



AFAIK the old stat file (/proc/net/rt_cache_acct) was OK.

During the conversion to /proc/net/stat/rt_cache done in late 2.6.XX version, a 
bug was introduced, in kernel and also in iproute2.

The API if fine, and my patch doesnt change it.

Eric

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