summaryrefslogtreecommitdiff
path: root/net/tls
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2017-08-04 22:14:00 +0300
committerDavid S. Miller <davem@davemloft.net>2017-08-07 07:28:10 +0300
commitfb84af8a4397ee664a51c2da1dd64fb3d582ee24 (patch)
tree6a3deb9f2ce3a088a5467f75cc42447b8f3ae1ba /net/tls
parent5f6b4e14cada6ddc662b80cbd670d9cd2922aea1 (diff)
downloadlinux-fb84af8a4397ee664a51c2da1dd64fb3d582ee24.tar.xz
netvsc: fix rtnl deadlock on unregister of vf
With new transparent VF support, it is possible to get a deadlock when some of the deferred work is running and the unregister_vf is trying to cancel the work element. The solution is to use trylock and reschedule (similar to bonding and team device). Reported-by: Vitaly Kuznetsov <vkuznets@redhat.com> Fixes: 0c195567a8f6 ("netvsc: transparent VF management") Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tls')
0 files changed, 0 insertions, 0 deletions