SUNRPC: Don't suppress socket errors when a message read completes
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 15 Feb 2019 21:53:04 +0000 (16:53 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 20 Feb 2019 22:35:58 +0000 (17:35 -0500)
commit727fcc64a0f8d346bdd60a7c92e9e720228ce037
tree2a23affd83cf7d7987e1cc3ad21b7137747d7a88
parente92053a52e68b841d1314ca04da7cbeb326ee1a0
SUNRPC: Don't suppress socket errors when a message read completes

If the message read completes, but the socket returned an error
condition, we should ensure to propagate that error.

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