mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-13 14:24:11 +08:00
svcrpc: note network-order types in svc_process_calldir
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
parent
5ee78d483c
commit
48e6555c7b
@ -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 **reqpp, struct kvec *vec)
|
||||||
{
|
{
|
||||||
struct rpc_rqst *req = NULL;
|
struct rpc_rqst *req = NULL;
|
||||||
u32 *p;
|
__be32 *p;
|
||||||
u32 xid;
|
__be32 xid;
|
||||||
u32 calldir;
|
__be32 calldir;
|
||||||
int len;
|
int len;
|
||||||
|
|
||||||
len = svc_recvfrom(rqstp, vec, 1, 8);
|
len = svc_recvfrom(rqstp, vec, 1, 8);
|
||||||
|
Loading…
Reference in New Issue
Block a user