]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: improve server ISM device determination
authorUrsula Braun <ubraun@linux.ibm.com>
Thu, 10 Sep 2020 16:48:24 +0000 (18:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Sep 2020 22:24:26 +0000 (15:24 -0700)
commit785cfedc844abce4d5f40f37f7ddbd813432b0e8
tree5c0a1c2d49cd070db002b2ea378bb3026e1e7355
parent278acdad83dfff160ee97351d65734f83233d348
net/smc: improve server ISM device determination

Move check whether peer can be reached into smc_pnet_find_ism_by_pnetid().
Thus searching continues for another ism device, if check fails.

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