[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1472061032.14381.112.camel@edumazet-glaptop3.roam.corp.google.com>
Date: Wed, 24 Aug 2016 10:50:32 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Stephen Hemminger <stephen@...workplumber.org>
Cc: David Miller <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>,
Neal Cardwell <ncardwell@...gle.com>,
Yuchung Cheng <ycheng@...gle.com>,
Julien Goodwin <julieng@...gle.com>,
Eric Dumazet <edumazet@...gle.com>
Subject: Re: [PATCH net-next] tcp: md5: add LINUX_MIB_TCPMD5FAILURE counter
On Wed, 2016-08-24 at 10:35 -0700, Stephen Hemminger wrote:
> You can't add value in middle of user API enum without breaking
> binary compatibility.
There is no binary compatibility here.
/proc/net/netstat is a text file with a defined format.
First line contains the headers.
If 'binary compatibility 'was an issue, we would not have added anything
in this file.
Programs need to be able to properly parse these TcpExt: lines.
nstat is doing the right thing.
I could put LINUX_MIB_TCPMD5FAILURE at the end, but 'nstat' would have
these MD5 counters in different places.
So for the few people (ie not programs) looking at nstat, it seems
better to place this MIB at this point.
Powered by blists - more mailing lists