SUNRPC: Decode most of RPC header with xdr_stream
authorChuck Lever <chuck.lever@oracle.com>
Mon, 2 Jan 2023 17:07:52 +0000 (12:07 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 20 Feb 2023 14:20:21 +0000 (09:20 -0500)
commit163cdfca341b76c958567ae0966bd3575c5c6192
treeb8176af6fdba7d73da0a41b95d84cb074e0e4a94
parent4119bd0306652776cb0b7caa3aea5b2a93aecb89
SUNRPC: Decode most of RPC header with xdr_stream

Done as part of hardening the server-side RPC header decoding path.

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
net/sunrpc/svc.c