hv_netvsc: move start_remove flag to net_device_context
authorVitaly Kuznetsov <vkuznets@redhat.com>
Fri, 13 May 2016 11:55:20 +0000 (13:55 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 May 2016 17:26:00 +0000 (13:26 -0400)
commitf580aec4bfd7babe51f086e599400027def08ed8
tree4508dc7ba0f197cb62cd82ce66f73eda4e79aa3c
parentda47b4572056487fd7941c26f73b3e8815ff712a
hv_netvsc: move start_remove flag to net_device_context

struct netvsc_device is destroyed on mtu change so keeping the
protection flag there is not a good idea. Move it to struct
net_device_context which is preserved.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.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