K 10 svn:author V 3 dab K 8 svn:date V 27 2021-10-17T18:49:44.468681Z K 7 svn:log V 1091 RPCBIND: skip ipv6 link local when request is not from link local address RPCINFO on macOS behaves different compared to other linux clients and doesn't provide request address in rpcb structure of the RPCBPROC_GETADDRLIST call which doesn't seem to be forbidden. In this case RPCBIND uses RPC call's source address and picks a closest corresponding local address. If there are no addresses in the same subnet as the source address, return of RPCBIND may vary depending on the order of addresses returned in getifaddrs. If a link local precedes global address it may be returned even if the request comes from neither a link local nor from link local in a different scope, which will prevent services like nfs from working in tpc6 scenario on macOS clients. Issue can be seen only on FreeBSD rpcbind port due to changes in workflow of addrmerge call. Submitted by: Dmitry Ovsyannikov (Dmitry.Ovsyannikov@dell.com) Sponsored by: Dell EMC (cherry picked from commit d18c9a91979543adc182c7b28819691b64fda388) Git Hash: e72fce241f88737592219049648d93d58f0e63eb Git Author: dab@FreeBSD.org END