mirror_iproute2/misc
Eric Dumazet 72cdb77d1a nstat: fix load_ugly_table() limits
A recent change reduced max line length from 4096 to 2048 bytes,
but we already have lines above the 2048 threshold, and we keep
adding more SNMP counters in linux.

Switch to getline() and do not worry about future kernel changes.

Fixes: da8034a019 ("misc: avoid snprintf warnings in ss and nstat")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
2018-12-31 21:45:53 -08:00
..
.gitignore Add ignore files to make using git easier 2006-08-08 12:04:38 -07:00
arpd.c libnetlink: Convert GETNEIGH dumps to use rtnl_neighdump_req 2018-10-02 18:38:59 -07:00
ifstat.c Tree wide: Drop sockaddr_nl arg 2018-10-22 09:43:48 -07:00
lnstat_util.c lnstat_util: Make sure buffer is NUL-terminated 2017-09-01 12:10:54 -07:00
lnstat.c Replace malloc && memset by calloc 2016-07-20 12:05:24 -07:00
lnstat.h SPDX license identifiers 2017-11-24 12:21:35 -08:00
Makefile Pass CPPFLAGS to the compiler 2018-11-09 08:07:18 -08:00
nstat.c nstat: fix load_ugly_table() limits 2018-12-31 21:45:53 -08:00
rtacct.c misc: fix style issues 2016-03-21 11:56:36 -07:00
ss.c ss: add support for bytes_sent, bytes_retrans, dsack_dups and reord_seen 2018-11-29 10:49:46 -08:00
ssfilter.h SPDX license identifiers 2017-11-24 12:21:35 -08:00
ssfilter.y ssfilter: Fix for inverted last expression 2018-12-03 14:33:19 -08:00