![]() 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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
bitfield.h | ||
boards.c | ||
boards.h | ||
efx.c | ||
efx.h | ||
enum.h | ||
ethtool.c | ||
ethtool.h | ||
falcon.c | ||
falcon.h | ||
falcon_hwdefs.h | ||
falcon_io.h | ||
falcon_xmac.c | ||
gmii.h | ||
mac.h | ||
mdio_10g.c | ||
mdio_10g.h | ||
mtd.c | ||
net_driver.h | ||
phy.h | ||
rx.c | ||
rx.h | ||
selftest.c | ||
selftest.h | ||
sfe4001.c | ||
spi.h | ||
tenxpress.c | ||
tx.c | ||
tx.h | ||
workarounds.h | ||
xenpack.h | ||
xfp_phy.c |