]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6449053a0d24e77576d2e62b71ba9cb3259d1237
tree4a1e1bfbdc9ceb3e5830fdc8564bc84f919f40a3
parentfdb7f240a34421397a8a21fc156995d581225484
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