From: Chuck Lever Date: Fri, 22 Aug 2014 19:10:50 +0000 (-0400) Subject: sunrpc: fix byte-swapping of displayed XID X-Git-Tag: v3.2.65~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fb2a40b3a04205b97de7e9017be84d3b6d7b7ed;p=thirdparty%2Fkernel%2Fstable.git sunrpc: fix byte-swapping of displayed XID commit 71efecb3f58c8c7a15f6135e3f9b39d1e3d3fae3 upstream. xprt_lookup_rqst() and bc_send_request() display a byte-swapped XID, but receive_cb_reply() does not. Signed-off-by: Chuck Lever Signed-off-by: J. Bruce Fields Signed-off-by: Ben Hutchings --- diff --git a/net/sunrpc/svcsock.c b/net/sunrpc/svcsock.c index 296192c94974b..559d5bed2c025 100644 --- a/net/sunrpc/svcsock.c +++ b/net/sunrpc/svcsock.c @@ -1062,7 +1062,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; }