Re: [PATCH net] caif-hsi: fix possible deadlock in cfhsi_exit_module()

2019-07-17 Thread David Miller
From: Taehee Yoo Date: Mon, 15 Jul 2019 14:10:17 +0900 > 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 Applie

[PATCH net] caif-hsi: fix possible deadlock in cfhsi_exit_module()

2019-07-14 Thread Taehee Yoo
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 --- I did only compile test because I don't have the testbed. Could anyone t