android_kernel_xiaomi_sdm845/drivers/net/bonding
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
..
bond_3ad.c netdevice: safe convert to netdev_priv() #part-1 2008-11-12 23:37:49 -08:00
bond_3ad.h bonding: alternate agg selection policies for 802.3ad 2008-11-06 00:49:47 -05:00
bond_alb.c netdevice: safe convert to netdev_priv() #part-1 2008-11-12 23:37:49 -08:00
bond_alb.h Convert bonding timers to workqueues 2007-10-23 20:32:00 -04:00
bond_ipv6.c bonding: send IPv6 neighbor advertisement on failover 2008-11-06 00:49:37 -05:00
bond_main.c netdev: introduce dev_get_stats() 2008-11-19 21:40:23 -08:00
bond_sysfs.c netdevice: safe convert to netdev_priv() #part-1 2008-11-12 23:37:49 -08:00
bonding.h netdevice: safe convert to netdev_priv() #part-1 2008-11-12 23:37:49 -08:00
Makefile bonding: send IPv6 neighbor advertisement on failover 2008-11-06 00:49:37 -05:00