]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/smc: simplify normal link termination
authorKarsten Graul <kgraul@linux.ibm.com>
Mon, 17 Feb 2020 15:24:54 +0000 (16:24 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Feb 2020 22:50:24 +0000 (14:50 -0800)
commit5f78fe968d76902944534db85c4fb244dedc87f4
tree458c3f686a4cdfc181a26a13cc89dc57e683c1ea
parentba95206042099ad2d3a08c2b484431736c921904
net/smc: simplify normal link termination

smc_lgr_terminate() and smc_lgr_terminate_sched() both result in soft
link termination, smc_lgr_terminate_sched() is scheduling a worker for
this task. Take out complexity by always using the termination worker
and getting rid of smc_lgr_terminate() completely.

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/smc_clc.c
net/smc/smc_core.c
net/smc/smc_core.h
net/smc/smc_llc.c