svn commit: r357156 - projects/nfs-over-tls/sys/fs/nfs
Rick Macklem
rmacklem at FreeBSD.org
Sun Jan 26 19:16:37 UTC 2020
Author: rmacklem
Date: Sun Jan 26 19:16:36 2020
New Revision: 357156
URL: https://svnweb.freebsd.org/changeset/base/357156
Log:
Just enable NFS-over-TLS always for testing.
A mount option to do this will be added later.
Modified:
projects/nfs-over-tls/sys/fs/nfs/nfs_commonkrpc.c
Modified: projects/nfs-over-tls/sys/fs/nfs/nfs_commonkrpc.c
==============================================================================
--- projects/nfs-over-tls/sys/fs/nfs/nfs_commonkrpc.c Sun Jan 26 19:08:37 2020 (r357155)
+++ projects/nfs-over-tls/sys/fs/nfs/nfs_commonkrpc.c Sun Jan 26 19:16:36 2020 (r357156)
@@ -285,6 +285,7 @@ newnfs_connect(struct nfsmount *nmp, struct nfssockreq
CLNT_CONTROL(client, CLSET_INTERRUPTIBLE, &one);
if ((nmp->nm_flag & NFSMNT_RESVPORT))
CLNT_CONTROL(client, CLSET_PRIVPORT, &one);
+CLNT_CONTROL(client, CLSET_TLS, &one);
if (NFSHASSOFT(nmp)) {
if (nmp->nm_sotype == SOCK_DGRAM)
/*
More information about the svn-src-projects
mailing list