Aw: Re: [PATCH 0/6] hv_netvsc: avoid races on mtu change/set channels

From: Lino Sanfilippo
Date: Thu May 12 2016 - 12:19:23 EST



> It's worse: before the patch series we get 'struct hv_device' (as it is
> called from core VMBus code and we simply cannot get to 'struct
> net_device' we need without traveling through 'struct
> netvsc_device'. This structure is removed and re-created by both
> netvsc_set_channels() and netvsc_change_mtu().


Ah ok, I missed that we cant rely on getting a valid netdev from the hv_device in
remove. Thanks for the explanation!

Regards,
Lino