netvsc: fix warnings reported by lockdep
authorstephen hemminger <stephen@networkplumber.org>
Fri, 28 Jul 2017 15:59:42 +0000 (08:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Jul 2017 22:25:43 +0000 (15:25 -0700)
commit867047c4512aa65fb4cf66b253b51b830c7fa172
tree61fe0635f7c2eaae5d6591d5df61f05c18a3ff11
parentd6aac1f218873f2266de23280bffb909b4a98fbf
netvsc: fix warnings reported by lockdep

This includes a bunch of fixups for issues reported by
lockdep.
   * ethtool routines can assume RTNL
   * send is done with RCU lock (and BH disable)
   * avoid refetching internal device struct (netvsc)
     instead pass it as a parameter.

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