Stephen Hemminger eeda3fd64f 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>
2008-11-19 21:40:23 -08:00
..
2008-11-19 21:40:23 -08:00
2008-11-14 00:53:54 -08:00
2008-11-07 22:52:34 -08:00
2008-07-01 19:55:40 -07:00
2008-11-12 00:54:54 -08:00
2008-11-19 21:40:23 -08:00
2008-11-10 16:48:03 -08:00
2008-11-19 21:40:23 -08:00
2008-11-03 18:21:05 -08:00
2008-07-25 10:53:29 -07:00