summaryrefslogtreecommitdiff
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2024-09-05 22:09:39 +0300
committerAnna Schumaker <anna.schumaker@oracle.com>2024-09-23 22:03:30 +0300
commitb0d87dbd8bd311d4126f5b34a8494043c487695f (patch)
tree4f515a4c2a7491845e402f05b81898998936a638 /rust/helpers/task.c
parent0a183f24a7ae48b7c0f2327989754b5db5de02b8 (diff)
downloadlinux-b0d87dbd8bd311d4126f5b34a8494043c487695f.tar.xz
NFSD: Refactor nfsd_setuser_and_check_port()
There are several places where __fh_verify unconditionally dereferences rqstp to check that the connection is suitably secure. They look at rqstp->rq_xprt which is not meaningful in the target use case of "localio" NFS in which the client talks directly to the local server. Prepare these to always succeed when rqstp is NULL. Signed-off-by: NeilBrown <neilb@suse.de> Co-developed-by: Mike Snitzer <snitzer@kernel.org> Signed-off-by: Mike Snitzer <snitzer@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions