[Bug 219581] NFSv4.1 client recovery from NFSERR_BADSESSION errors from Solaris server

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri May 26 22:04:27 UTC 2017


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

            Bug ID: 219581
           Summary: NFSv4.1 client recovery from NFSERR_BADSESSION errors
                    from Solaris server
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: rmacklem at FreeBSD.org

Created attachment 182948
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=182948&action=edit
do CreateSession with extant ClientID first for BADSESSION recovery

Some NFSv4.1 servers return NFS4ERR_BAD_SESSION for cases where the ClientID
is still valid. I believe that Solaris servers do this.
As such, the recovery that starts with ExchangeID to acquire a new ClientID
is not correct for these servers.
This patch modifies the code so that it first attempts a CreateSession with
the extant ClientID and only does the ExchangeID, CreateSession recovery
if this fails.

I believe this is correct for Solaris servers, but since I do not have any
Solaris server to test against, I don't actually know if this patch works
for Solaris servers?

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


More information about the freebsd-bugs mailing list