Re: [PATCH nfsd-next] nfsd: fix uninitialised slot info when a request is retried

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Chuck Lever <chuck.lever@xxxxxxxxxx>

On Tue, 28 Jan 2025 10:05:03 +1100, NeilBrown wrote:
> A recent patch moved the assignment of seq->maxslots from before the
> test for a resent request (which ends with a goto) to after, resulting
> in it not being run in that case.  This results in the server returning
> bogus "high slot id" and "target high slot id" values.
> 
> The assignments to ->maxslots and ->target_maxslots need to be *after*
> the out: label so that the correct values are returned in replies to
> requests that are served from cache.
> 
> [...]

Applied to nfsd-testing, thanks!

Because I sent the NFSD 6.14 PR yesterday, this fix will be queued
up for 6.14-rc once it has completed a round of testing.

[1/1] nfsd: fix uninitialised slot info when a request is retried
      commit: 78843acb930e16c6f8aa4abd3b82b997c03018c7

--
Chuck Lever




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux