diff options
| author | Shamir Rabinovitch <shamir.rabinovitch@oracle.com> | 2017-03-29 13:21:59 +0300 |
|---|---|---|
| committer | Doug Ledford <dledford@redhat.com> | 2017-04-05 20:47:24 +0300 |
| commit | 771a52584096c45e4565e8aabb596eece9d73d61 (patch) | |
| tree | 47115b4715c6c1c63abec88d872649163ad40607 /include | |
| parent | cd6ce4a5737829052abc4ffc8befd0adfff8998d (diff) | |
| download | linux-771a52584096c45e4565e8aabb596eece9d73d61.tar.xz | |
IB/IPoIB: ibX: failed to create mcg debug file
When udev renames the netdev devices, ipoib debugfs entries does not
get renamed. As a result, if subsequent probe of ipoib device reuse the
name then creating a debugfs entry for the new device would fail.
Also, moved ipoib_create_debug_files and ipoib_delete_debug_files as part
of ipoib event handling in order to avoid any race condition between these.
Fixes: 1732b0ef3b3a ([IPoIB] add path record information in debugfs)
Cc: stable@vger.kernel.org # 2.6.15+
Signed-off-by: Vijay Kumar <vijay.ac.kumar@oracle.com>
Signed-off-by: Shamir Rabinovitch <shamir.rabinovitch@oracle.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
