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@FreeBSD.org
          Reporter: rmack...@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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to