diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2018-07-29 11:34:57 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-08-02 20:27:43 -0600 |
commit | ee190ab734ba4d3c7887bd193ce8124385738e44 (patch) | |
tree | 53ebb12de34e3032a59e0e19dde5bdfe42a5b503 /drivers/Makefile | |
parent | 9f49a5b5c21d58aa84e16cfdc5e99e49faefcb7a (diff) |
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 'drivers/Makefile')
0 files changed, 0 insertions, 0 deletions