linux-sg2042/drivers/net/hyperv
stephen hemminger 9b4e946ce1 netvsc: fix deadlock betwen link status and removal
There is a deadlock possible when canceling the link status
delayed work queue. The removal process is run with RTNL held,
and the link status callback is acquring RTNL.

Resolve the issue by using trylock and rescheduling.
If cancel is in process, that block it from happening.

Fixes: 122a5f6410 ("staging: hv: use delayed_work for netvsc_send_garp()")
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-08-24 21:59:08 -07:00
..
Kconfig
Makefile
hyperv_net.h netvsc: fix race on sub channel creation 2017-08-06 21:23:21 -07:00
netvsc.c netvsc: fix race on sub channel creation 2017-08-06 21:23:21 -07:00
netvsc_drv.c netvsc: fix deadlock betwen link status and removal 2017-08-24 21:59:08 -07:00
rndis_filter.c netvsc: fix race on sub channel creation 2017-08-06 21:23:21 -07:00