[Bug 263728] NFSv4.1/4.2 server erroneously always clears slot 0 for the callback session

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 02 May 2022 14:40:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263728

Rick Macklem <rmacklem@FreeBSD.org> changed:

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

--- Comment #1 from Rick Macklem <rmacklem@FreeBSD.org> ---
Created attachment 233671
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=233671&action=edit
Fixes the NFSv4.1/4.2 to clear the correct callback session slot

The NFSv4.1/4.2 server erroneously
always frees session slot zero for callbacks.  This only
affects 4.1/4.2 mounts if the server has delegations
enabled or is a pNFS configuration.  Even for those
cases, the effect is mainly to only use slot 0 for
callbacks, serializing all of them.  There is a slight
chance that callbacks will fail if the client performs
them in a different order than received on the TCP
connection.

This patch fixes the problem.  Found during a recent
IETF NFSv4 testing event.

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