diff options
author | Taehee Yoo <ap420073@gmail.com> | 2019-07-15 08:10:17 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-07-28 09:29:23 +0300 |
commit | d7cdac6dc4180d89e6289192c3334fa59acd3980 (patch) | |
tree | 612709d9bdee8ff46e9c705353c71f10447999b5 /drivers/net/hyperv/netvsc_drv.c | |
parent | 8fb37be120469a4bd729be833d32010d4bba4e41 (diff) | |
download | linux-d7cdac6dc4180d89e6289192c3334fa59acd3980.tar.xz |
caif-hsi: fix possible deadlock in cfhsi_exit_module()
[ Upstream commit fdd258d49e88a9e0b49ef04a506a796f1c768a8e ]
cfhsi_exit_module() calls unregister_netdev() under rtnl_lock().
but unregister_netdev() internally calls rtnl_lock().
So deadlock would occur.
Fixes: c41254006377 ("caif-hsi: Add rtnl support")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/hyperv/netvsc_drv.c')
0 files changed, 0 insertions, 0 deletions