linux-stable/drivers/infiniband
Alaa Hleihel 9fd3be2cbb IB/ipoib: Do not warn if IPoIB debugfs doesn't exist
[ Upstream commit 14fa91e0fe ]

netdev_wait_allrefs() could rebroadcast NETDEV_UNREGISTER event
multiple times until all refs are gone, which will result in calling
ipoib_delete_debug_files multiple times and printing a warning.

Remove the WARN_ONCE since checks of NULL pointers before calling
debugfs_remove are not needed.

Fixes: 771a525840 ("IB/IPoIB: ibX: failed to create mcg debug file")
Signed-off-by: Alaa Hleihel <alaa@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2018-11-10 07:42:46 -08:00
..
core ucma: fix a use-after-free in ucma_resolve_ip() 2018-10-13 09:18:57 +02:00
hw IB/hfi1: Fix SL array bounds check 2018-10-03 17:01:51 -07:00
sw IB/rxe: Drop QP0 silently 2018-09-26 08:36:32 +02:00
ulp IB/ipoib: Do not warn if IPoIB debugfs doesn't exist 2018-11-10 07:42:46 -08:00
Kconfig RDMA/ucm: Mark UCM interface as BROKEN 2018-07-17 11:37:54 +02:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00