]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
svcrpc: note network-order types in svc_process_calldir
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 14 Feb 2011 19:52:03 +0000 (14:52 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 7 Apr 2011 18:36:40 +0000 (14:36 -0400)
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/svcsock.c

index 733c2f6a1858d886934760b87ef999d2929201cf..1955e1a1e390da0f31764a98c9a536eb7cd88850 100644 (file)
@@ -982,9 +982,9 @@ static int svc_process_calldir(struct svc_sock *svsk, struct svc_rqst *rqstp,
                               struct rpc_rqst **reqpp, struct kvec *vec)
 {
        struct rpc_rqst *req = NULL;
-       u32 *p;
-       u32 xid;
-       u32 calldir;
+       __be32 *p;
+       __be32 xid;
+       __be32 calldir;
        int len;
 
        len = svc_recvfrom(rqstp, vec, 1, 8);