netvsc: add some rtnl_dereference annotations
authorstephen hemminger <stephen@networkplumber.org>
Wed, 19 Jul 2017 18:53:13 +0000 (11:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Jul 2017 05:20:05 +0000 (22:20 -0700)
commit79e8cbe7a789a0863cc6cd874872b4dd63ec5947
tree742a12f0c68a5dbaff3e051f806dd1ca3effe4fe
parent1b01994aa6f9bad60d2b162c17dca530c21e2687
netvsc: add some rtnl_dereference annotations

In a couple places RTNL is held, and the netvsc_device pointer
is acquired without annotation.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc.c
drivers/net/hyperv/netvsc_drv.c