OSDN Git Service

net/smc: fallback to TCP after connect problems
authorKarsten Graul <kgraul@linux.ibm.com>
Fri, 12 Apr 2019 10:57:24 +0000 (12:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Apr 2019 17:50:56 +0000 (10:50 -0700)
commit4ada81fddfbbda360bb692aa469d472ebb06b37d
tree883491d586f643ef1d43e3fc0377aa95413fe36c
parent50717a37db032ce783f50685a73bb2ac68471a5a
net/smc: fallback to TCP after connect problems

Correct the CLC decline reason codes for internal problems to not have
the sign bit set, negative reason codes are interpreted as not eligible
for TCP fallback.

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>
net/smc/smc_clc.h