OpenCloudOS-Kernel/drivers/net/hyperv
Florian Fainelli 4a0dee1ffe netvsc: Initialize 64-bit stats seqcount
On 32-bit hosts and with CONFIG_DEBUG_LOCK_ALLOC we should be seeing a
lockdep splat indicating this seqcount is not correctly initialized, fix
that. In commit 6c80f3fc23 ("netvsc: report per-channel stats in
ethtool statistics") netdev_alloc_pcpu_stats() was removed in favor of
open-coding the 64-bits statistics, except that u64_stats_init() was
missed.

Fixes: 6c80f3fc23 ("netvsc: report per-channel stats in ethtool statistics")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-08-01 20:06:07 -07:00
..
Kconfig
Makefile
hyperv_net.h hv_netvsc: Fix the carrier state error when data path is off 2017-06-22 13:30:37 -04:00
netvsc.c netvsc: Initialize 64-bit stats seqcount 2017-08-01 20:06:07 -07:00
netvsc_drv.c Revert "netvsc: optimize calculation of number of slots" 2017-07-25 21:26:08 -07:00
rndis_filter.c hv_netvsc: Remove unnecessary var link_state from struct netvsc_device_info 2017-06-22 13:30:37 -04:00