[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190328.122214.1269115693598269959.davem@davemloft.net>
Date: Thu, 28 Mar 2019 12:22:14 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: haiyangz@...uxonhyperv.com
Cc: sashal@...nel.org, linux-hyperv@...r.kernel.org,
haiyangz@...rosoft.com, kys@...rosoft.com, sthemmin@...rosoft.com,
olaf@...fle.de, vkuznets@...hat.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH hyperv-fixes,v2] hv_netvsc: Fix unwanted wakeup after
tx_disable
From: Haiyang Zhang <haiyangz@...uxonhyperv.com>
Date: Thu, 28 Mar 2019 19:16:37 +0000
> From: Haiyang Zhang <haiyangz@...rosoft.com>
>
> After queue stopped, the wakeup mechanism may wake it up again
> when ring buffer usage is lower than a threshold. This may cause
> send path panic on NULL pointer when we stopped all tx queues in
> netvsc_detach and start removing the netvsc device.
>
> This patch fix it by adding a tx_disable flag to prevent unwanted
> queue wakeup.
>
> Fixes: 7b2ee50c0cd5 ("hv_netvsc: common detach logic")
> Reported-by: Mohammed Gamal <mgamal@...hat.com>
> Signed-off-by: Haiyang Zhang <haiyangz@...rosoft.com>
Still need to fix the inline issues I mentioned in v1.
Powered by blists - more mailing lists