diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2008-11-20 06:40:23 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-20 06:40:23 +0100 |
commit | eeda3fd64f75bcbfaa70ce946513abaf3f23b8e0 (patch) | |
tree | 082d1921a5783ef5b07b4cf666804d6509f25f1a /net/ethernet | |
parent | netdev: network device operations infrastructure (diff) | |
download | linux-eeda3fd64f75bcbfaa70ce946513abaf3f23b8e0.tar.xz linux-eeda3fd64f75bcbfaa70ce946513abaf3f23b8e0.zip |
netdev: introduce dev_get_stats()
In order for the network device ops get_stats call to be immutable, the handling
of the default internal network device stats block has to be changed. Add a new
helper function which replaces the old use of internal_get_stats.
Note: change return code to make it clear that the caller should not
go changing the returned statistics.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ethernet')
0 files changed, 0 insertions, 0 deletions