SUNRPC: Initiate a connection close on an ESHUTDOWN error in stream receive
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 16 Feb 2019 14:31:47 +0000 (09:31 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 20 Feb 2019 22:35:58 +0000 (17:35 -0500)
commit5f52a9d429b8ba8f9d669730adf16bc534eb74ea
tree30aad853a825e04cb4700f1ddfd39e959bec0de9
parent727fcc64a0f8d346bdd60a7c92e9e720228ce037
SUNRPC: Initiate a connection close on an ESHUTDOWN error in stream receive

If the client stream receive code receives an ESHUTDOWN error either
because the server closed the connection, or because it sent a
callback which cannot be processed, then we should shut down
the connection.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/xprtsock.c