Commit 28a3b840 authored by Karsten Graul's avatar Karsten Graul Committed by David S. Miller
Browse files

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: a33a803c ("net/smc: guarantee removal of link groups in reboot")
Signed-off-by: default avatarKarsten Graul <kgraul@linux.ibm.com>
Reviewed-by: default avatarUrsula Braun <ubraun@linux.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d3e014ec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}