]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1691912dda4bf77ca4adcd80f0693f27fc1be359
tree6a381394e3fc59e48bd531f3afd1ebb8f34d47a5
parent9863baf73f3923d0781bb6d7c4229d394b0c2302
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