From: Chuck Lever Date: Wed, 19 Dec 2018 15:59:28 +0000 (-0500) Subject: xprtrdma: Expose transport header errors X-Git-Tag: for-linus-20190104~12^2~21 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=236b0943d1f21335a0fc4324f3bcc455cf99dfb7;p=linux-block.git 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 Signed-off-by: Anna Schumaker --- 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; }