[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <trinity-178386d6-a968-4eac-9cf5-fcd34aad7a2a-1463069947179@3capp-gmx-bs05>
Date: Thu, 12 May 2016 18:19:07 +0200
From: "Lino Sanfilippo" <LinoSanfilippo@....de>
To: "Vitaly Kuznetsov" <vkuznets@...hat.com>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
devel@...uxdriverproject.org,
"Haiyang Zhang" <haiyangz@...rosoft.com>,
"K. Y. Srinivasan" <kys@...rosoft.com>
Subject: Aw: Re: [PATCH 0/6] hv_netvsc: avoid races on mtu change/set
channels
> 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
Powered by blists - more mailing lists