projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e052dd
)
SUNRPC: Clear rq_xid when receiving a new RPC Call
author
Chuck Lever
<chuck.lever@oracle.com>
Tue, 18 Apr 2023 02:15:28 +0000
(22:15 -0400)
committer
Chuck Lever
<chuck.lever@oracle.com>
Thu, 27 Apr 2023 22:49:24 +0000
(18:49 -0400)
This is an eye-catcher for tracepoints that record the XID: it means
svc_rqst() has not received a full RPC Call with an XID yet.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
net/sunrpc/svc_xprt.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/svc_xprt.c
b/net/sunrpc/svc_xprt.c
index e3952b690f54ff666cfacddb52a8b4e0f7b76241..3b9708b39e352abdc40e9de23fd19712b1604f06 100644
(file)
--- a/
net/sunrpc/svc_xprt.c
+++ b/
net/sunrpc/svc_xprt.c
@@
-701,6
+701,8
@@
static int svc_alloc_arg(struct svc_rqst *rqstp)
arg->page_len = (pages-2)*PAGE_SIZE;
arg->len = (pages-1)*PAGE_SIZE;
arg->tail[0].iov_len = 0;
+
+ rqstp->rq_xid = xdr_zero;
return 0;
}