summaryrefslogtreecommitdiff
path: root/drivers/net/dummy.c
diff options
context:
space:
mode:
authorVinicius Costa Gomes <vinicius.gomes@intel.com>2020-09-25 11:35:37 -0700
committerTony Nguyen <anthony.l.nguyen@intel.com>2020-11-10 15:03:14 -0800
commit6b7ed22ae4c96a415001f0c3116ebee15bb8491a (patch)
tree4cc10da00a7228d56e841e2938cc248d20448327 /drivers/net/dummy.c
parent1773482fd8cecd5b060d409853f8145be3064a41 (diff)
igc: Fix returning wrong statistics
'igc_update_stats()' was not updating 'netdev->stats', so the returned statistics, for example, requested by: $ ip -s link show dev enp3s0 were not being updated and were always zero. Fix by returning a set of statistics that are actually being updated (adapter->stats64). Fixes: c9a11c23ceb6 ("igc: Add netdev") Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/dummy.c')
0 files changed, 0 insertions, 0 deletions