freebsd-dev/lib/libc
Rick Macklem 032b04626b rpcb_clnt.c: Do not force use of UDP
Without this patch, the code in the rpcbind client forces
the use of UDP.  A comment notes that some rpcbind servers
only support UDP.  This makes NFSv3 mounts to Azure servers
impossible, since they require use of TCP for rpcbind.
Since the comment is very old (imported from NetBSD in 2001)
and I do not believe any UDP only rpcbind servers will
still exist, this patch comments out the code that forces
use of UDP, so that NFSv3 mounts to Azure servers can work.

For an NFSv3 mount, the "udp" mount option will still
make mount_nfs use UDP for rpcbind so that can be used
as a workaround for any old NFSv3 server that only
supports rpcbind over UDP (if any such server still exists).

I asked if doing this change is appropriate on freebsd-fs@
and I only got one reply (off list) that supported doing
the change.

PR:	267301
MFC after:	1 month
2022-11-13 12:16:06 -08:00
..
aarch64 Remove "All rights reserved" where I can in libc 2022-08-05 15:11:39 +01:00
amd64 amd64: Stop using REP MOVSB for backward memmove()s. 2022-06-16 14:51:50 -04:00
arm libc: Remove _get_tp() and _set_tp(). 2021-12-09 13:23:26 -08:00
capability Remove "All Rights Reserved" from FreeBSD Foundation libc copyrights 2022-07-21 09:53:31 -04:00
compat-43 libc: Add HISTORY sections to the manual pages 2022-05-05 18:46:32 +02:00
db libc: Add HISTORY sections to the manual pages 2022-05-05 18:46:32 +02:00
gdtoa libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
gen times: Use modern function definitions 2022-10-25 10:57:29 -06:00
gmon
i386 libc: Remove _get_tp() and _set_tp(). 2021-12-09 13:23:26 -08:00
iconv libc: iconv: add mb_cur_min for encoder traits 2022-08-11 11:42:17 -05:00
include libc: Remove _get_tp() and _set_tp(). 2021-12-09 13:23:26 -08:00
inet
isc
locale libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
md
nameser
net libc: Don't warn about RRSIG replies. 2022-11-09 17:41:47 +01:00
nls Implement strerror_l(). 2020-12-16 09:02:09 +00:00
posix1e acl_delete_entry(): remove write-only variable 2021-11-29 17:39:51 +02:00
powerpc libc: Remove _get_tp() and _set_tp(). 2021-12-09 13:23:26 -08:00
powerpc64 libc: Remove _get_tp() and _set_tp(). 2021-12-09 13:23:26 -08:00
powerpcspe [PowerPC] [PowerPCSPE] Fix multiple issues in fpsetmask(). 2021-02-28 21:11:29 -06:00
quad qdivrem: Predict division by zero as false. 2022-10-04 13:51:06 +02:00
regex libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
resolv resolver(3): Fix a typo in a source code comment 2022-04-09 09:14:29 +02:00
riscv libc: Remove _get_tp() and _set_tp(). 2021-12-09 13:23:26 -08:00
rpc rpcb_clnt.c: Do not force use of UDP 2022-11-13 12:16:06 -08:00
secure libc: ssp: sprinkle around some __dead2 2021-09-30 23:55:17 -05:00
softfloat libc: use standard LF line endings, not CRLF 2021-04-03 16:20:07 -04:00
stdio libc: Fix size range check in setvbuf 2022-10-04 12:03:56 -04:00
stdlib strfmon: Remove XXX marks 2022-10-30 00:09:32 +03:00
stdtime libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
string libc: Add strverscmp(3) and versionsort(3) 2022-08-25 03:29:03 +03:00
sys getsockopt.2: Clarify the SO_REUSEPORT_LB text a bit 2022-11-02 13:46:24 -04:00
tests strfmon_l: Use specified locale for number formatting 2022-10-30 00:09:11 +03:00
uuid uuid(3): Document return values 2021-11-19 03:58:34 -05:00
x86 Remove "All Rights Reserved" from FreeBSD Foundation libc copyrights 2022-07-21 09:53:31 -04:00
xdr typo: s/impelmentation/implementation/. 2020-02-07 15:14:29 +00:00
yp
libc_nossp.ldscript
libc.ldscript
Makefile libc: Include quad support on long32 ABIs 2022-10-05 17:27:44 +01:00
Makefile.depend
Makefile.depend.options
Versions.def Create namespace for the symbols added during 14-CURRENT cycle. 2021-07-15 19:40:28 +03:00