hv_netvsc: move start_remove flag to net_device_context
[cascardo/linux.git] / drivers / net / hyperv / hyperv_net.h
index 6700a4d..18e9cc8 100644 (file)
@@ -672,6 +672,9 @@ struct net_device_context {
        /* Ethtool settings */
        u8 duplex;
        u32 speed;
+
+       /* the device is going away */
+       bool start_remove;
 };
 
 /* Per netvsc device */
@@ -682,7 +685,6 @@ struct netvsc_device {
 
        atomic_t num_outstanding_sends;
        wait_queue_head_t wait_drain;
-       bool start_remove;
        bool destroy;
 
        /* Receive buffer allocated by us but manages by NetVSP */