aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtrdma/rpc_rdma.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2017-02-08 17:00:35 -0500
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2017-02-10 14:02:36 -0500
commit0a90487bf7182c74830616b91bd33f68f8c6e18b (patch)
tree8a5aec95f4a56b0092a5219b33800f9b898f77f3 /net/sunrpc/xprtrdma/rpc_rdma.c
parentxprtrdma: Properly recover FRWRs with in-flight FASTREG WRs (diff)
downloadlinux-dev-0a90487bf7182c74830616b91bd33f68f8c6e18b.tar.xz
linux-dev-0a90487bf7182c74830616b91bd33f68f8c6e18b.zip
xprtrdma: Handle stale connection rejection
A server rejects a connection attempt with STALE_CONNECTION when a client attempts to connect to a working remote service, but uses a QPN and GUID that corresponds to an old connection that was abandoned. This might occur after a client crashes and restarts. Fix rpcrdma_conn_upcall() to distinguish between a normal rejection and rejection of stale connection parameters. As an additional clean-up, remove the code that retries the connection attempt with different ORD/IRD values. Code audit of other ULP initiators shows no similar special case handling of initiator_depth or responder_resources. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/rpc_rdma.c')
0 files changed, 0 insertions, 0 deletions