aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtrdma/rpc_rdma.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sunrpc/xprtrdma/rpc_rdma.c')
-rw-r--r--net/sunrpc/xprtrdma/rpc_rdma.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/net/sunrpc/xprtrdma/rpc_rdma.c b/net/sunrpc/xprtrdma/rpc_rdma.c
index a6fb30b0a8cc..150dd7641803 100644
--- a/net/sunrpc/xprtrdma/rpc_rdma.c
+++ b/net/sunrpc/xprtrdma/rpc_rdma.c
@@ -766,7 +766,8 @@ rpcrdma_reply_handler(struct rpcrdma_rep *rep)
766 spin_unlock(&xprt->transport_lock); 766 spin_unlock(&xprt->transport_lock);
767 dprintk("RPC: %s: reply 0x%p failed " 767 dprintk("RPC: %s: reply 0x%p failed "
768 "to match any request xid 0x%08x len %d\n", 768 "to match any request xid 0x%08x len %d\n",
769 __func__, rep, headerp->rm_xid, rep->rr_len); 769 __func__, rep, be32_to_cpu(headerp->rm_xid),
770 rep->rr_len);
770repost: 771repost:
771 r_xprt->rx_stats.bad_reply_count++; 772 r_xprt->rx_stats.bad_reply_count++;
772 rep->rr_func = rpcrdma_reply_handler; 773 rep->rr_func = rpcrdma_reply_handler;
@@ -782,13 +783,14 @@ repost:
782 spin_unlock(&xprt->transport_lock); 783 spin_unlock(&xprt->transport_lock);
783 dprintk("RPC: %s: duplicate reply 0x%p to RPC " 784 dprintk("RPC: %s: duplicate reply 0x%p to RPC "
784 "request 0x%p: xid 0x%08x\n", __func__, rep, req, 785 "request 0x%p: xid 0x%08x\n", __func__, rep, req,
785 headerp->rm_xid); 786 be32_to_cpu(headerp->rm_xid));
786 goto repost; 787 goto repost;
787 } 788 }
788 789
789 dprintk("RPC: %s: reply 0x%p completes request 0x%p\n" 790 dprintk("RPC: %s: reply 0x%p completes request 0x%p\n"
790 " RPC request 0x%p xid 0x%08x\n", 791 " RPC request 0x%p xid 0x%08x\n",
791 __func__, rep, req, rqst, headerp->rm_xid); 792 __func__, rep, req, rqst,
793 be32_to_cpu(headerp->rm_xid));
792 794
793 /* from here on, the reply is no longer an orphan */ 795 /* from here on, the reply is no longer an orphan */
794 req->rl_reply = rep; 796 req->rl_reply = rep;