]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
sunrpc: fix byte-swapping of displayed XID
authorChuck Lever <chuck.lever@oracle.com>
Fri, 22 Aug 2014 19:10:50 +0000 (15:10 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 28 Aug 2014 20:00:07 +0000 (16:00 -0400)
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>
net/sunrpc/svcsock.c

index 0e8b667337a2e1f8df76476cc0cb842ca491346f..3f959c681885ba41ccdf6300bb27a35745ec11be 100644 (file)
@@ -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;
        }