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.