net/smc: provide fallback reason code
authorKarsten Graul <kgraul@linux.ibm.com>
Wed, 25 Jul 2018 14:35:32 +0000 (16:35 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Jul 2018 05:25:53 +0000 (22:25 -0700)
commit603cc1498455cf57f5ca4483b600efb37ea2c56c
treeba933ac7ee9002bc65e53e6bfc868c363c63676a
parent7005ada68d1774d7c1109deaba0c2cd8e46f5091
net/smc: provide fallback reason code

Remember the fallback reason code and the peer diagnosis code for
smc sockets, and provide them in smc_diag.c to the netlink interface.
And add more detailed reason codes.

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>
include/uapi/linux/smc_diag.h
net/smc/af_smc.c
net/smc/smc.h
net/smc/smc_clc.c
net/smc/smc_clc.h
net/smc/smc_diag.c