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:42:20 +0000 (16:42 +0100)
commitc394e3d3f7a96de645ade28d30d8b29935faf053
tree1b67198ccdb5cd2358b4207c2540b51bee27fc31
parent5f8a249c57029a3bbb3b5af87273213a9e2d186e
net/smc: no peer ID in CLC decline for SMCD

commit 369537c97024dca99303a8d4d6ab38b4f54d3909 upstream.

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

Fixes: c758dfddc1b5 ("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