]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: no peer ID in CLC decline for SMCD
authorUrsula Braun <ubraun@linux.ibm.com>
Fri, 14 Feb 2020 07:59:00 +0000 (08:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Mar 2020 15:43:47 +0000 (16:43 +0100)
commit51fd20a5735aefef313709e13f12ea3d3729d0c2
tree126b92a7f51f081e3c3c517afbfc5e0950b4970a
parentfda4c172c1701f62d50d38b1704a2d7909bd7ee2
net/smc: no peer ID in CLC decline for SMCD

commit 2e00f48b731fb79e94248a0789b82971dc6e2247 upstream.

Just SMCR requires a CLC Peer ID, but not SMCD. The field should be
zero for SMCD.

Fixes: 2029a50d9566 ("net/smc: add SMC-D support in CLC messages")
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/smc/smc_clc.c