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

From: Eric Dumazet <[email-masked]>
Date: Fri, 18 Mar 2005 18:14:00 +0100

Stephen Hemminger a écrit :
> On Fri, 18 Mar 2005 13:05:44 +0100
> Eric Dumazet <[email-masked]> 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