diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2018-12-19 18:59:28 +0300 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2019-01-02 20:05:18 +0300 |
commit | 236b0943d1f21335a0fc4324f3bcc455cf99dfb7 (patch) | |
tree | c62a79e80699f62e21fdb3eaff8c1d9b240105a9 /net/sunrpc/xprtrdma | |
parent | 889ee07f7ed26bb2cc525eb48f7f865bc407ef0b (diff) | |
download | linux-236b0943d1f21335a0fc4324f3bcc455cf99dfb7.tar.xz |
xprtrdma: Expose transport header errors
For better observability of parsing errors, return the error code
generated in the decoders to the upper layer consumer.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/xprtrdma')
-rw-r--r-- | net/sunrpc/xprtrdma/rpc_rdma.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sunrpc/xprtrdma/rpc_rdma.c b/net/sunrpc/xprtrdma/rpc_rdma.c index 939f84adbbda..8de0b9fc975b 100644 --- a/net/sunrpc/xprtrdma/rpc_rdma.c +++ b/net/sunrpc/xprtrdma/rpc_rdma.c @@ -1246,7 +1246,6 @@ out: out_badheader: trace_xprtrdma_reply_hdr(rep); r_xprt->rx_stats.bad_reply_count++; - status = -EIO; goto out; } |