projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ee78d4
)
svcrpc: note network-order types in svc_process_calldir
author
J. Bruce Fields
<bfields@redhat.com>
Mon, 14 Feb 2011 19:52:03 +0000
(14:52 -0500)
committer
J. 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
patch
|
blob
|
blame
|
history
diff --git
a/net/sunrpc/svcsock.c
b/net/sunrpc/svcsock.c
index 733c2f6a1858d886934760b87ef999d2929201cf..1955e1a1e390da0f31764a98c9a536eb7cd88850 100644
(file)
--- 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;
-
u
32 *p;
-
u
32 xid;
-
u
32 calldir;
+
__be
32 *p;
+
__be
32 xid;
+
__be
32 calldir;
int len;
len = svc_recvfrom(rqstp, vec, 1, 8);