svn commit: r363299 - projects/nfs-over-tls/sys/fs/nfsserver
Rick Macklem
rmacklem at FreeBSD.org
Sat Jul 18 05:20:34 UTC 2020
Author: rmacklem
Date: Sat Jul 18 05:20:33 2020
New Revision: 363299
URL: https://svnweb.freebsd.org/changeset/base/363299
Log:
Fix the last commit for the NFSv4.0 callback using TLS.
I guess I should have tested before committing, but this is just a project
area.
Modified:
projects/nfs-over-tls/sys/fs/nfsserver/nfs_nfsdserv.c
Modified: projects/nfs-over-tls/sys/fs/nfsserver/nfs_nfsdserv.c
==============================================================================
--- projects/nfs-over-tls/sys/fs/nfsserver/nfs_nfsdserv.c Sat Jul 18 01:57:20 2020 (r363298)
+++ projects/nfs-over-tls/sys/fs/nfsserver/nfs_nfsdserv.c Sat Jul 18 05:20:33 2020 (r363299)
@@ -3815,7 +3815,7 @@ nfsrvd_setclientid(struct nfsrv_descript *nd, __unused
}
/* If the client is using TLS, do so for the callback connection. */
- if ((nd->nd_xprt->xp_tls & RPCTLS_FLAGS_HANDSHAKE) != 0)
+ if (nd->nd_flag & ND_TLS)
clp->lc_flags |= LCL_TLSCB;
NFSM_DISSECT(tl, u_int32_t *, NFSX_UNSIGNED);
More information about the svn-src-projects
mailing list