]> 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)
commit1035f25a34fd4fa1f71bac290d297c4d6e3baf28
tree30aad853a825e04cb4700f1ddfd39e959bec0de9
parent473519d2ae2cca8d676b91f64264ca94f08e2fa8
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