summaryrefslogtreecommitdiff
path: root/include/linux/processor.h
diff options
context:
space:
mode:
authorHaiyang Zhang <haiyangz@microsoft.com>2019-03-28 19:40:36 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-17 08:38:39 +0200
commit9a7c4f5acc0e1f2fafa6867af639a4ebbe1fc69c (patch)
tree72d5f39a03b867b1afc9e435b9232c0b83c9ef92 /include/linux/processor.h
parent902eca1a0ccfd2661106731db3a74b2304f31217 (diff)
hv_netvsc: Fix unwanted wakeup after tx_disable
[ Upstream commit 1b704c4a1ba95574832e730f23817b651db2aa59 ] 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@redhat.com> Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/processor.h')
0 files changed, 0 insertions, 0 deletions