]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: use termination worker under send_lock
authorKarsten Graul <kgraul@linux.ibm.com>
Mon, 17 Feb 2020 15:24:51 +0000 (16:24 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Feb 2020 22:50:24 +0000 (14:50 -0800)
commiteac04be88b7da445cd39ef16e5555cb3c05c7ec3
tree05e1d2be4e1eba96ba8c419ce381854e77e3af69
parent01cf962e82003fbd73e072fc72fef8884554e2ad
net/smc: use termination worker under send_lock

smc_tx_rdma_write() is called under the send_lock and should not call
smc_lgr_terminate() directly. Call smc_lgr_terminate_sched() instead
which schedules a worker.

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_tx.c