Skip to contentSkip to conversation

net/smc: unregister ib devices in reboot_event

PATCH Applied Karsten Graul 2 participants 2 messages Dec 19, 2019 – Dec 21, 2019

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/smc: unregister ib devices in reboot_event

In the reboot_event handler, unregister the ib devices and enable the IB layer to release the devices before the reboot.

Fixes a33a803cfe64 ("net/smc: guarantee removal of link groups in reboot")
---
 net/smc/smc_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/smc/smc_core.c +1 -1
index c16b8d3e200b..2249de5379ee 100644
@@ -1287,7 +1287,7 @@ static int smc_core_reboot_event(struct notifier_block *this,
 				 unsigned long event, void *ptr)
 {
 	smc_lgrs_shutdown();
-
+	smc_ib_unregister_client();
 	return 0;
 }
 
Signature · 1 line
2.21.0