summaryrefslogtreecommitdiff
path: root/net/sunrpc
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2014-08-22 23:10:50 +0400
committerJ. Bruce Fields <bfields@redhat.com>2014-08-29 00:00:07 +0400
commit71efecb3f58c8c7a15f6135e3f9b39d1e3d3fae3 (patch)
tree74ec1b1c3261dcc9c9a163cd02a79b0ec4ba7b1a /net/sunrpc
parent2b8941b962a9f24d61c2b3c2e889928e6cf3d82b (diff)
downloadlinux-71efecb3f58c8c7a15f6135e3f9b39d1e3d3fae3.tar.xz
sunrpc: fix byte-swapping of displayed XID
xprt_lookup_rqst() and bc_send_request() display a byte-swapped XID, but receive_cb_reply() does not. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc')
-rw-r--r--net/sunrpc/svcsock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/svcsock.c b/net/sunrpc/svcsock.c
index 0e8b667337a2..3f959c681885 100644
--- a/net/sunrpc/svcsock.c
+++ b/net/sunrpc/svcsock.c
@@ -1027,7 +1027,7 @@ static int receive_cb_reply(struct svc_sock *svsk, struct svc_rqst *rqstp)
"%s: Got unrecognized reply: "
"calldir 0x%x xpt_bc_xprt %p xid %08x\n",
__func__, ntohl(calldir),
- bc_xprt, xid);
+ bc_xprt, ntohl(xid));
return -EAGAIN;
}