hv_netvsc: Fix a warning of suspicious RCU usage
authorDexuan Cui <decui@microsoft.com>
Fri, 9 Aug 2019 01:58:08 +0000 (01:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Aug 2019 20:42:19 +0000 (13:42 -0700)
commit6d0d779dca73cd5acb649c54f81401f93098b298
tree35e144a282374889dbb710bf284d228361f1db6e
parent9566e650bf7fdf58384bb06df634f7531ca3a97e
hv_netvsc: Fix a warning of suspicious RCU usage

This fixes a warning of "suspicious rcu_dereference_check() usage"
when nload runs.

Fixes: 776e726bfb34 ("netvsc: fix RCU warning in get_stats")
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc_drv.c