Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1400220

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

From "Lino Sanfilippo" <LinoSanfilippo@gmx.de>
Newsgroups linux.kernel
Subject Aw: Re: [PATCH 0/6] hv_netvsc: avoid races on mtu change/set channels
Date 2016-05-12 18:20 +0200
Message-ID <ry1vc-ZS-17@gated-at.bofh.it> (permalink)
References <rxYdY-5WB-19@gated-at.bofh.it> <ry1vc-ZS-19@gated-at.bofh.it> <ry0ps-8tw-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> 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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 0/6] hv_netvsc: avoid races on mtu change/set channels Vitaly Kuznetsov <vkuznets@redhat.com> - 2016-05-12 14:50 +0200
  [PATCH 5/6] hv_netvsc: synchronize netvsc_change_mtu()/netvsc_set_channels() with netvsc_remove() Vitaly Kuznetsov <vkuznets@redhat.com> - 2016-05-12 15:00 +0200
  [PATCH 6/6] hv_netvsc: set nvdev link after populating chn_table Vitaly Kuznetsov <vkuznets@redhat.com> - 2016-05-12 15:00 +0200
  [PATCH 4/6] hv_netvsc: get rid of struct net_device pointer in struct netvsc_device Vitaly Kuznetsov <vkuznets@redhat.com> - 2016-05-12 15:00 +0200
  [PATCH 3/6] hv_netvsc: untangle the pointer mess Vitaly Kuznetsov <vkuznets@redhat.com> - 2016-05-12 15:00 +0200
  Aw: [PATCH 0/6] hv_netvsc: avoid races on mtu change/set channels "Lino Sanfilippo" <LinoSanfilippo@gmx.de> - 2016-05-12 17:00 +0200
    Re: Aw: [PATCH 0/6] hv_netvsc: avoid races on mtu change/set channels Vitaly Kuznetsov <vkuznets@redhat.com> - 2016-05-12 17:10 +0200
      Aw: Re:  [PATCH 0/6] hv_netvsc: avoid races on mtu change/set  channels "Lino Sanfilippo" <LinoSanfilippo@gmx.de> - 2016-05-12 18:20 +0200

csiph-web