]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
NFSD: Remove argument length checking in nfsd_dispatch()
authorChuck Lever <chuck.lever@oracle.com>
Tue, 20 Oct 2020 14:08:19 +0000 (10:08 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Jun 2024 12:52:54 +0000 (14:52 +0200)
commite44061388635614756ede3f21369c3a43ef17ee5
tree4e114460d3d2d915b0381948f3a1763bc9574106
parent7e6746027b058a0f01a73d3ed2ed352c7cdaf28f
NFSD: Remove argument length checking in nfsd_dispatch()

[ Upstream commit 5650682e16f41722f735b7beeb2dbc3411dfbeb6 ]

Now that the argument decoders for NFSv2 and NFSv3 use the
xdr_stream mechanism, the version-specific length checking logic in
nfsd_dispatch() is no longer necessary.

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