]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4d6cccb8b6390d4fc5464aebbc3ba00deb76ae41
tree30aad853a825e04cb4700f1ddfd39e959bec0de9
parent89eb1f598f0fccacf47e27e57f47260abffeeb49
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