]> 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)
commit607fc618be33ba8c4e34bc55286af3097bba6c40
tree48222176f78e8c189f43cf9d106adcf8183d75fc
parent72339f3f27fcd78a0b0a8944c1ad9882bfa8fb5a
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