diff options
| author | Jason Gunthorpe <[email protected]> | 2018-07-29 11:34:57 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2018-08-02 20:27:43 -0600 |
| commit | ee190ab734ba4d3c7887bd193ce8124385738e44 (patch) | |
| tree | 53ebb12de34e3032a59e0e19dde5bdfe42a5b503 /scripts/gcc-plugins/gcc-generate-gimple-pass.h | |
| 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 <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-gimple-pass.h')
0 files changed, 0 insertions, 0 deletions