[Bug 254560] NFSv4.1 server broken when mounted by Linux using nconnects

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Mar 25 22:09:43 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254560

Rick Macklem <rmacklem at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|bugs at FreeBSD.org            |rmacklem at FreeBSD.org
             Status|New                         |Open

--- Comment #1 from Rick Macklem <rmacklem at FreeBSD.org> ---
Created attachment 223584
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=223584&action=edit
fix NFSv4.1 server so that it does not bind a new conn to backchannel

The NFSv4.1 (and 4.2 on 13) server incorrectly binds
a new TCP connection to the backchannel when first
used by an RPC with Sequence. RFC5661 specified that
it should only bind to the fore channel.

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.
Until this patch is applied to the server, the
"nconnects" mount option should not be used.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list