On Fri, 21 Dec 2018 22:53:35 -0800 Eric Dumazet <eduma...@google.com> wrote:
> 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: da8034a01904 ("misc: avoid snprintf warnings in ss and nstat") > Signed-off-by: Eric Dumazet <eduma...@google.com> Sure, applied.