SUNRPC: Convert unwrap_priv_data() to use xdr_stream
authorChuck Lever <chuck.lever@oracle.com>
Mon, 2 Jan 2023 17:07:07 +0000 (12:07 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 20 Feb 2023 14:20:16 +0000 (09:20 -0500)
commit42140718ea26c47fb06c679451a6aa6703545136
treec4da19a44b91d58e81b50cd7020a96dcb4d15d0e
parentf4a59e822f8116baf51a9fc86590e4391bd542d2
SUNRPC: Convert unwrap_priv_data() to use 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>
include/linux/sunrpc/xdr.h
net/sunrpc/auth_gss/svcauth_gss.c
net/sunrpc/xdr.c