diff options
author | 2018-07-29 11:34:57 +0300 | |
---|---|---|
committer | 2018-08-02 20:27:43 -0600 | |
commit | ee190ab734ba4d3c7887bd193ce8124385738e44 (patch) | |
tree | 53ebb12de34e3032a59e0e19dde5bdfe42a5b503 /include/linux/overflow.h | |
parent | RDMA/netdev: Use priv_destructor for netdev cleanup (diff) | |
download | wireguard-linux-ee190ab734ba4d3c7887bd193ce8124385738e44.tar.xz wireguard-linux-ee190ab734ba4d3c7887bd193ce8124385738e44.zip |
IB/ipoib: Get rid of the sysfs_mutex
This mutex was introduced to deal with the deadlock formed by calling
unregister_netdev from within the sysfs callback of a netdev.
Now that we have priv_destructor and needs_free_netdev we can switch
to the more targeted solution of running the unregister from a
work queue. This avoids the deadlock and gets rid of the mutex.
The next patch in the series needs this mutex eliminated to create
atomicity of unregisteration.
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions