netvsc: add rtnl annotations in rndis
authorstephen hemminger <stephen@networkplumber.org>
Wed, 19 Jul 2017 18:53:19 +0000 (11:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Jul 2017 05:20:05 +0000 (22:20 -0700)
commit3962981f4822aaf284234efd0500041417faea86
tree6a381394e3fc59e48bd531f3afd1ebb8f34d47a5
parent35fbbccfb417385c1c8cc6f799154ea1ebdc22ef
netvsc: add rtnl annotations in rndis

The rndis functions are used when changing device state.
Therefore the references from network device to internal state
are protected by RTNL mutex.

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