summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2026-07-07 00:07:09 +0900
committerNamjae Jeon <linkinjeon@kernel.org>2026-08-17 15:00:31 +0900
commit6b8b79226bc3e0ac3fdd4e91836241af712e8cd1 (patch)
tree8cafccf9957c45e86dfa51dd3a96b9b02ec17f9f /tools/perf/scripts/python/bin
parentd40c24634fe077a0dc91fd11fccf44ce12b454d5 (diff)
ksmbd: fix partial file information responses
Variable-length file information handlers use the client output length while constructing the response. FILE_ALL_INFORMATION can consequently return -EINVAL before the common buffer check, while stream information can stop building the complete result too early. Build the complete response within the available server response buffer and apply the client output length only when selecting the final status and transmitted length. Use the protocol-defined fixed sizes for all, alternate-name, and stream information to distinguish STATUS_INFO_LENGTH_MISMATCH from STATUS_BUFFER_OVERFLOW. This fixes smb2.getinfo.qfile_buffercheck. Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions