summaryrefslogtreecommitdiffstats
path: root/block/blk-lib.c
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2017-08-24 16:49:16 -0700
committerDavid S. Miller <davem@davemloft.net>2017-08-24 21:59:08 -0700
commit9b4e946ce14e20d7addbfb7d9139e604f9fda107 (patch)
tree0175bcaad416e1b058108ea515878d40ab63663c /block/blk-lib.c
parentc3d8d60e1efe5432dc4905646481f460795fac4e (diff)
downloadlinux-9b4e946ce14e20d7addbfb7d9139e604f9fda107.tar.bz2
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: 122a5f6410f4 ("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>
Diffstat (limited to 'block/blk-lib.c')
0 files changed, 0 insertions, 0 deletions