--- sys/fs/nfs/nfs_commonkrpc.c.slotpos 2022-08-25 15:56:35.061725000 -0700 +++ sys/fs/nfs/nfs_commonkrpc.c 2022-08-26 20:05:16.618422000 -0700 @@ -1082,12 +1082,12 @@ printf("Disable slot=%d\n", nd->nd_slotid); } slot = nd->nd_slotid; } + freeslot = slot; } else if (slot != 0) { printf("newnfs_request: Bad " "session slot=%d\n", slot); slot = 0; } - freeslot = slot; if (retseq != sep->nfsess_slotseq[slot]) printf("retseq diff 0x%x\n", retseq); @@ -1172,6 +1172,8 @@ printf("nfs_commonkrpc: initiate recovery\n"); *tl++ = txdr_unsigned(slotseq); *tl++ = txdr_unsigned(slotpos); *tl = txdr_unsigned(maxslot); + nd->nd_slotid = slotpos; + nd->nd_flag |= ND_HASSLOTID; } if (reterr == NFSERR_BADSESSION || reterr == 0) {