]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
NFSD: Update WRITE3arg decoder to use struct xdr_stream
authorChuck Lever <chuck.lever@oracle.com>
Thu, 22 Oct 2020 15:14:55 +0000 (11:14 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Jun 2024 12:52:51 +0000 (14:52 +0200)
commit5f36ae59d6cc55437474fc02a450b62b885bd9be
treee4da9463be284ce42f2f58b48c72248eeee814bf
parentb77a4a968d1d2ab9f36556efc8e73772e28f8c90
NFSD: Update WRITE3arg decoder to use struct xdr_stream

[ Upstream commit c43b2f229a01969a7ccf94b033c5085e0ec2040c ]

As part of the update, open code that sanity-checks the size of the
data payload against the length of the RPC Call message has to be
re-implemented to use xdr_stream infrastructure.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfsd/nfs3xdr.c