diff options
| author | Chuck Lever <cel@kernel.org> | 2026-08-02 13:04:29 -0400 |
|---|---|---|
| committer | Chuck Lever <cel@kernel.org> | 2026-08-26 16:41:35 -0400 |
| commit | 8cc23037955c9aae530d3c38ac1348a720a9813d (patch) | |
| tree | 199fd260f79e119bd2709185fac3a82fa48dea01 /scripts/objdiff | |
| parent | cdf19fd48dd7e991e51f7a9946c1ddf114b38054 (diff) | |
| download | linux-next-8cc23037955c9aae530d3c38ac1348a720a9813d.tar.gz linux-next-8cc23037955c9aae530d3c38ac1348a720a9813d.zip | |
NFSD: Budget the CB_RECALL truncate field
NFS4_enc_cb_recall_sz counts the CB_RECALL opcode, the stateid, and the
file handle. encode_cb_recall4args() also emits the truncate field, so
the macro falls one XDR word short.
NFSD_CB_MAX_REQ_SZ derives from this macro, so the minimum
ca_maxrequestsize a client must advertise rises by four bytes.
The field has been unbudgeted since the macro was written. Neither
consumer of the macro justifies a backport. rq_callsize covers
p_arglen with two credential slacks. The only client affected is one
whose ca_maxrequestsize falls inside those four bytes.
Link: https://patch.msgid.link/20260802-nfsd-deleg-destroy-badhandle-v1-2-323aa7196055@kernel.org
Signed-off-by: Chuck Lever <cel@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
