aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2025-01-28 10:05:03 +1100
committerChuck Lever <chuck.lever@oracle.com>2025-02-10 13:30:55 -0500
commit5fb25161217370eeee86b63e47060870b67ed2b4 (patch)
tree69c2c533c0e2789c7f2aef9b4f0c92bac9adce42 /scripts/generate_rust_analyzer.py
parentnfsd: validate the nfsd_serv pointer before calling svc_wake_up (diff)
downloadlinux-rng-5fb25161217370eeee86b63e47060870b67ed2b4.tar.xz
linux-rng-5fb25161217370eeee86b63e47060870b67ed2b4.zip
nfsd: fix uninitialised slot info when a request is retried
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. Fixes: 60aa6564317d ("nfsd: allocate new session-based DRC slots on demand.") Signed-off-by: NeilBrown <neilb@suse.de> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions