diff options
author | Brice Goglin <brice@myri.com> | 2009-04-16 02:23:56 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-16 18:00:43 -0700 |
commit | 590818250684d18bb0e30c45d79971dcdff96ad0 (patch) | |
tree | 74569b7dc4061819495b00ac4321a30f78791dad /drivers/edac | |
parent | a54bfa40fd16aeb90bc556189221576f746f8567 (diff) |
myri10ge: force stats update in ethtool gstats
Force a statistics update when our ethtool gstats routine
is called. Otherwise, ethtool will continue to read stale
stats until something forces an update by reading /proc/net/dev
This requires putting a lock around the stats update to guard
against 2 threads (one via ethtool, and one via procfs)
updating the stats at once.
Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/edac')
0 files changed, 0 insertions, 0 deletions