]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Ignore queue transmission errors on successful transmission
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 15 Apr 2019 15:54:13 +0000 (11:54 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 17 Apr 2019 20:07:28 +0000 (16:07 -0400)
commitf9d39a6844500db75e5234cd25aa0a6694f424d1
tree48222176f78e8c189f43cf9d106adcf8183d75fc
parenta823f410bed73191d790cede57e1b70cd6ab80b6
SUNRPC: Ignore queue transmission errors on successful transmission

If a request transmission fails due to write space or slot unavailability
errors, but the queued task then gets transmitted before it has time to
process the error in call_transmit_status() or call_bc_transmit_status(),
we need to suppress the transmission error code to prevent it from leaking
out of the RPC layer.

Reported-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Tested-by: Chuck Lever <chuck.lever@oracle.com>
net/sunrpc/clnt.c