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-06 00:50:56 -05:00
2008-11-19 21:40:23 -08:00
2008-11-12 16:02:45 -08:00
2008-11-16 12:41:35 -08:00
2008-11-14 14:44:08 -08:00
2008-11-10 15:11:56 -05:00
2008-11-10 15:11:56 -05:00
2008-11-03 16:55:44 -08:00