diff options
author | J. Bruce Fields <bfields@redhat.com> | 2011-02-14 20:52:03 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-04-07 20:36:40 +0200 |
commit | 48e6555c7b3bf0d92f8167d8b8b8ecf4a3fdab84 (patch) | |
tree | 7f66e9a7cc801b0759d49e18eec5741d617692de /net | |
parent | SUNRPC: svc_tcp_recvfrom cleanup (diff) | |
download | linux-48e6555c7b3bf0d92f8167d8b8b8ecf4a3fdab84.tar.xz linux-48e6555c7b3bf0d92f8167d8b8b8ecf4a3fdab84.zip |
svcrpc: note network-order types in svc_process_calldir
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/sunrpc/svcsock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sunrpc/svcsock.c b/net/sunrpc/svcsock.c index 733c2f6a1858..1955e1a1e390 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); |