diff options
author | Rajesh Borundia <rajesh.borundia@qlogic.com> | 2014-08-04 11:51:16 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-05 16:23:26 -0700 |
commit | a0eaf75c03712b491b7a840b5836c8f1e2a09277 (patch) | |
tree | 7a6429676a00dafdbd99da7f2abaf1f4f51ca8b3 /arch/sh/mm/fault.c | |
parent | f2294eb59d5c3efa51acb3f42a7a382e9353bdc7 (diff) |
qlcnic: Fix update of ethtool stats.
o Aggregating tx stats in adapter variable was resulting in
an increase in stats even after no traffic was run and
user runs ifconfig/ethtool command.
o qlcnic_update_stats used to accumulate stats in adapter
struct at each function call, instead accumulate tx stats
in local variable and then assign it to adapter structure.
Reported-by: Holger Kiehl <holger.kiehl@dwd.de>
Signed-off-by: Rajesh Borundia <rajesh.borundia@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sh/mm/fault.c')
0 files changed, 0 insertions, 0 deletions