K 10 svn:author V 7 git2svn K 8 svn:date V 27 2021-04-11T22:47:03.679274Z K 7 svn:log V 1043 nfsd: do not implicitly bind the back channel for NFSv4.1/4.2 mounts The NFSv4.1 (and 4.2 on 13) server incorrectly binds a new TCP connection to the back channel when first used by an RPC with a Sequence op in it (almost all of them). RFC5661 specifies that only the fore channel should be bound. This was done because early clients (including FreeBSD) did not do the required BindConnectionToSession RPC. Unfortunately, this breaks the Linux client when the "nconnects" mount option is used, since the server may do a callback on the incorrect TCP connection. This patch converts the server behaviour to that required by the RFC. It also makes the server test/indicate failure of the back channel more aggressively. Until this patch is applied to the server, the "nconnects" mount option is not recommended for a Linux NFSv4.1/4.2 client mount to the FreeBSD server. PR: 254560 (cherry picked from commit 01ae8969a9eed652fbd894faa5b31b1593079ed8) Git Hash: 5fb6cfadcd9dbc850a018a3690a2b775c01fff8f Git Author: rmacklem@FreeBSD.org END