hv_netvsc: Fix a warning of suspicious RCU usage
commit269e9955574cab8597fc7b0089bdc69522289f02
authorDexuan Cui <decui@microsoft.com>
Fri, 9 Aug 2019 01:58:08 +0000 (9 01:58 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Sep 2019 09:32:12 +0000 (10 10:32 +0100)
tree374c539eaff1b510dff3022ca333968d617fc51b
parent23b6e07b3af903503bf1c772126d263617b8b1eb
hv_netvsc: Fix a warning of suspicious RCU usage

[ Upstream commit 6d0d779dca73cd5acb649c54f81401f93098b298 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/hyperv/netvsc_drv.c