> From: linux-hyperv-owner@xxxxxxxxxxxxxxx > <linux-hyperv-owner@xxxxxxxxxxxxxxx> On Behalf Of Dexuan Cui > Sent: Monday, August 5, 2019 4:56 PM > The warning is caused by the rcu_dereference_rtnl() : > > 1239 static void netvsc_get_stats64(struct net_device *net, > 1240 struct rtnl_link_stats64 *t) > 1241 { > 1242 struct net_device_context *ndev_ctx = netdev_priv(net); > 1243 struct netvsc_device *nvdev = > rcu_dereference_rtnl(ndev_ctx->nvdev); > > I think here netvsc_get_stats64() neither holds rcu_read_lock() nor RTNL > > IMO it should call rcu_read_lock()/unlock(), or get RTNL to fix the warning? I just posted a patch on behalf of Stephen: [PATCH net] hv_netvsc: Fix a warning of suspicious RCU usage Thanks, -- Dexuan