]> Git Repo - linux.git/commitdiff
xprtrdma: Expose transport header errors
authorChuck Lever <[email protected]>
Wed, 19 Dec 2018 15:59:28 +0000 (10:59 -0500)
committerAnna Schumaker <[email protected]>
Wed, 2 Jan 2019 17:05:18 +0000 (12:05 -0500)
For better observability of parsing errors, return the error code
generated in the decoders to the upper layer consumer.

Signed-off-by: Chuck Lever <[email protected]>
Signed-off-by: Anna Schumaker <[email protected]>
net/sunrpc/xprtrdma/rpc_rdma.c

index 939f84adbbdae18ed7dbb04acb5a8e1cb44db0ef..8de0b9fc975bd6ef2098f80abb8c71d3ddfa8001 100644 (file)
@@ -1246,7 +1246,6 @@ out:
 out_badheader:
        trace_xprtrdma_reply_hdr(rep);
        r_xprt->rx_stats.bad_reply_count++;
-       status = -EIO;
        goto out;
 }
 
This page took 0.058969 seconds and 4 git commands to generate.