K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2021-05-10T15:55:32.257320Z K 7 svn:log V 785 nfsd: fix session slot handling for failed callbacks When the NFSv4.1/4.2 server does a callback to a client on the back channel, it will use a session slot in the back channel session. If the back channel has failed, the callback will fail and, without this patch, the session slot will not be released. As more callbacks are attempted, all session slots can become busy and then the nfsd thread gets stuck waiting for a back channel session slot. This patch frees the session slot upon callback failure to avoid this problem. Without this patch, the problem can be avoided by leaving delegations disabled in the NFS server. (cherry picked from commit 4281bfec36285e2212f41568459c077bf4dbd91c) Git Hash: c86420ea7dcda16b4fd32c19cde54b128677f371 Git Author: rmacklem@FreeBSD.org END