net/smc: set link inactive before calling smc_lgr_free()
authorKarsten Graul <kgraul@linux.ibm.com>
Tue, 15 May 2018 15:05:01 +0000 (17:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 May 2018 15:49:20 +0000 (11:49 -0400)
commit3cf52eb11fa00b8dc8a773893fd808e3a09b3961
tree4a1e1bfbdc9ceb3e5830fdc8564bc84f919f40a3
parent1401ea045b96ae1112bf384e6f03f909643f04be
net/smc: set link inactive before calling smc_lgr_free()

Before smc_lgr_free() is called the link must be set inactive by calling
smc_llc_link_inactive().

Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/af_smc.c
net/smc/smc_core.c