linux/drivers/infiniband/ulp
Shamir Rabinovitch d20bfe223d IB/IPoIB: ibX: failed to create mcg debug file
commit 771a525840 upstream.

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: 1732b0ef3b ([IPoIB] add path record information in debugfs)
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2017-05-20 14:28:38 +02:00
..
ipoib IB/IPoIB: ibX: failed to create mcg debug file 2017-05-20 14:28:38 +02:00
iser IB/iser: Fix sg_tablesize calculation 2017-02-01 08:33:07 +01:00
isert Merge of primary rdma-core code for 4.9 2016-10-09 17:04:33 -07:00
srp IB/srp: Fix race conditions related to task management 2017-03-15 10:02:44 +08:00
srpt Merge of primary rdma-core code for 4.9 2016-10-09 17:04:33 -07:00
Makefile IB: Allow build of hw/ and ulp/ subdirectories independently 2014-06-02 14:51:12 -07:00