]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a check to test for the case of the "tls" option being used with "udp".
authorRick Macklem <rmacklem@FreeBSD.org>
Tue, 1 Sep 2020 01:10:16 +0000 (01:10 +0000)
committerRick Macklem <rmacklem@FreeBSD.org>
Tue, 1 Sep 2020 01:10:16 +0000 (01:10 +0000)
commit4cdbb07b3c0e8f92f618ba9dc8227ef42792c86d
treeb116784e4088e24a9f0ee733ed0df06372bf5e60
parent30d46e454a04a76c2e82b68474b6c622777c2ef5
Add a check to test for the case of the "tls" option being used with "udp".

The KERN_TLS only supports TCP, so use of the "tls" option with "udp" will
not work.  This patch adds a test for this case, so that the mount is not
attempted when both "tls" and "udp" are specified.
sys/fs/nfsclient/nfs_clvfsops.c