diff options
author | NeilBrown <[email protected]> | 2024-09-05 15:09:39 -0400 |
---|---|---|
committer | Anna Schumaker <[email protected]> | 2024-09-23 15:03:30 -0400 |
commit | b0d87dbd8bd311d4126f5b34a8494043c487695f (patch) | |
tree | 4f515a4c2a7491845e402f05b81898998936a638 /lib/crypto/mpi/mpi-sub-ui.c | |
parent | 0a183f24a7ae48b7c0f2327989754b5db5de02b8 (diff) |
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 <[email protected]>
Co-developed-by: Mike Snitzer <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions