diff options
author | Karsten Graul <kgraul@linux.ibm.com> | 2019-04-12 13:57:25 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-12 20:50:56 +0300 |
commit | 598866974c94eecb842291253780274f96b3d919 (patch) | |
tree | bc649c24343d62b99d4ffde1aa31828323fcd262 /net/smc/smc_pnet.h | |
parent | 4ada81fddfbbda360bb692aa469d472ebb06b37d (diff) | |
download | linux-598866974c94eecb842291253780274f96b3d919.tar.xz |
net/smc: check for ip prefix and subnet
The check for a matching ip prefix and subnet was only done for SMC-R
in smc_listen_rdma_check() but not when an SMC-D connection was
possible. Rename the function into smc_listen_prfx_check() and move its
call to a place where it is called for both SMC variants.
And add a new CLC DECLINE reason for the case when the IP prefix or
subnet check fails so the reason for the failing SMC connection can be
found out more easily.
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>
Diffstat (limited to 'net/smc/smc_pnet.h')
0 files changed, 0 insertions, 0 deletions