Commit 695bc1f3 authored by Chuck Lever's avatar Chuck Lever
Browse files

SUNRPC: Clear rq_xid when receiving a new RPC Call



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: default avatarChuck Lever <chuck.lever@oracle.com>
parent 5e052dda
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;
}