linux_old1/drivers/net/hyperv
Haiyang Zhang 1b704c4a1b hv_netvsc: Fix unwanted wakeup after tx_disable
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: 7b2ee50c0c ("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>
2019-03-29 13:34:01 -07:00
..
Kconfig hv_netvsc: drop common code until callback model fixed 2018-06-12 15:22:28 -07:00
Makefile hv_netvsc: add trace points 2018-03-17 20:10:27 -04:00
hyperv_net.h hv_netvsc: Fix unwanted wakeup after tx_disable 2019-03-29 13:34:01 -07:00
netvsc.c hv_netvsc: Fix unwanted wakeup after tx_disable 2019-03-29 13:34:01 -07:00
netvsc_drv.c hv_netvsc: Fix unwanted wakeup after tx_disable 2019-03-29 13:34:01 -07:00
netvsc_trace.c hv_netvsc: add trace points 2018-03-17 20:10:27 -04:00
netvsc_trace.h hv_netvsc: add trace points 2018-03-17 20:10:27 -04:00
rndis_filter.c hv_netvsc: fix typos in code comments 2019-01-23 13:21:34 -05:00