]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc445558711841739dd1b30b9d68a0e5ca1fdc497
treeba933ac7ee9002bc65e53e6bfc868c363c63676a
parentbcab3294d6c6df18eca8327ed8d0734933c0b3e9
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