summaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2011-02-14 14:52:03 -0500
committerJ. Bruce Fields <bfields@redhat.com>2011-04-07 14:36:40 -0400
commit48e6555c7b3bf0d92f8167d8b8b8ecf4a3fdab84 (patch)
tree7f66e9a7cc801b0759d49e18eec5741d617692de /net/sunrpc
parent5ee78d483c5812228e971e145b912e0a7e35e571 (diff)
svcrpc: note network-order types in svc_process_calldir
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc')
-rw-r--r--net/sunrpc/svcsock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sunrpc/svcsock.c b/net/sunrpc/svcsock.c
index 733c2f6a185..1955e1a1e39 100644
--- a/net/sunrpc/svcsock.c
+++ b/net/sunrpc/svcsock.c
@@ -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);