From: Eric Dumazet <eric.duma...@gmail.com> Date: Wed, 29 Mar 2017 10:45:44 -0700
> From: Eric Dumazet <eduma...@google.com> > > Some device drivers reset their stats at down/up events, possibly > fooling bonding stats, since they operate with relative deltas. > > It is nearly not possible to fix drivers, since some of them compute the > tx/rx counters based on per rx/tx queue stats, and the queues can be > reconfigured (ethtool -L) between the down/up sequence. > > Lets avoid accumulating 'negative' values that render bonding stats > useless. > > It is better to lose small deltas, assuming the bonding stats are > fetched at a reasonable frequency. > > Fixes: 5f0c5f73e5ef ("bonding: make global bonding stats more reliable") > Signed-off-by: Eric Dumazet <eduma...@google.com> Applied, thanks Eric.