]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: improved fix wait on already cleared link
authorKarsten Graul <kgraul@linux.ibm.com>
Thu, 7 Oct 2021 14:14:40 +0000 (16:14 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Oct 2021 16:00:16 +0000 (17:00 +0100)
commit74167f2c79d7c58bc38dc745926c24a20352f3a0
tree1c4e9cea0b14fd5318202c0ef6dd8512df6989e6
parent747dfc7f2309620a7d22a228c9180df7fc9da205
net/smc: improved fix wait on already cleared link

Commit c69c69e2e57e ("net/smc: fix wait on already cleared link")
introduced link refcounting to avoid waits on already cleared links.
This patch extents and improves the refcounting to cover all
remaining possible cases for this kind of error situation.

Fixes: 1a2c369a8cf3 ("net/smc: no WR buffer wait for terminating link group")
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_cdc.c
net/smc/smc_core.c
net/smc/smc_llc.c
net/smc/smc_tx.c
net/smc/smc_wr.h