diff options
| author | Jeff Layton <jlayton@kernel.org> | 2026-06-11 16:00:49 -0400 |
|---|---|---|
| committer | Chuck Lever <cel@kernel.org> | 2026-08-10 09:54:35 -0400 |
| commit | 04cce9d79f2b1a114f7128e08bf60a473e10f1ec (patch) | |
| tree | 025990f7edd930a9755dd46313d1557c37e0a95f /tools/lib/python | |
| parent | 2c7912732184773dbd371a411da87af1cc080b86 (diff) | |
nfsd: add filehandle match check to nfsd4_delegreturn()
nfsd4_delegreturn() is the only stateful NFSv4 operation that does
not call nfs4_check_fh() to verify the delegation's file matches
cstate->current_fh. A client can DELEGRETURN with a mismatched
filehandle, destroying the correct delegation but waking the wrong
inode's waiters.
Add the missing nfs4_check_fh() call after the generation check.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Cc: stable@vger.kernel.org
Assisted-by: Claude:claude-opus-4-8
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Link: https://patch.msgid.link/20260611-nfsd-testing-v2-6-5b90e276f2d9@kernel.org
Signed-off-by: Chuck Lever <cel@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
