linux-stable/drivers/infiniband/ulp/ipoib
Shamir Rabinovitch 771a525840 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: 1732b0ef3b ([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>
2017-04-05 13:47:24 -04:00
..
ipoib.h IB/ipoib: Remove the unnecessary error check 2017-01-24 16:22:24 -05:00
ipoib_cm.c sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
ipoib_ethtool.c IB/IPoIB: Switch from dma_device to dev.parent 2017-01-24 12:26:17 -05:00
ipoib_fs.c IB/IPoIB: ibX: failed to create mcg debug file 2017-04-05 13:47:24 -04:00
ipoib_ib.c IB/ipoib: Remove the unnecessary error check 2017-01-24 16:22:24 -05:00
ipoib_main.c IB/IPoIB: ibX: failed to create mcg debug file 2017-04-05 13:47:24 -04:00
ipoib_multicast.c IB/ipoib: Remove the unnecessary error check 2017-01-24 16:22:24 -05:00
ipoib_netlink.c infiniband: make sure the src net is infiniband when create new link 2014-01-03 20:38:56 -05:00
ipoib_verbs.c IB/ipoib_verbs: Remove deprecated create_singlethread_workqueue 2016-10-07 16:54:32 -04:00
ipoib_vlan.c IB/IPoIB: ibX: failed to create mcg debug file 2017-04-05 13:47:24 -04:00
Kconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
Makefile IB/ipoib: Add rtnl_link_ops support 2012-09-20 16:49:17 -04:00