diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2023-01-02 12:08:04 -0500 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2023-02-20 09:20:21 -0500 |
commit | f4afc8fead386c81fda2593ad6162271d26667f8 (patch) | |
tree | d3b36caf58cd3080ce2ef3f3cc5389e3019be33b /net/sunrpc/svc_xprt.c | |
parent | 1c59a532ae38cc4472a7096d7a50703bce9a153f (diff) | |
download | lwn-f4afc8fead386c81fda2593ad6162271d26667f8.tar.gz lwn-f4afc8fead386c81fda2593ad6162271d26667f8.zip |
SUNRPC: Hoist svcxdr_init_decode() into svc_process()
Now the entire RPC Call header parsing path is handled via struct
xdr_stream-based decoders.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net/sunrpc/svc_xprt.c')
-rw-r--r-- | net/sunrpc/svc_xprt.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sunrpc/svc_xprt.c b/net/sunrpc/svc_xprt.c index c2ce12538008..c678fd2d61ef 100644 --- a/net/sunrpc/svc_xprt.c +++ b/net/sunrpc/svc_xprt.c @@ -890,7 +890,6 @@ int svc_recv(struct svc_rqst *rqstp, long timeout) xprt->xpt_ops->xpo_secure_port(rqstp); rqstp->rq_chandle.defer = svc_defer; - rqstp->rq_xid = svc_getu32(&rqstp->rq_arg.head[0]); if (serv->sv_stats) serv->sv_stats->netcnt++; |