diff options
| author | Namjae Jeon <linkinjeon@kernel.org> | 2026-07-05 22:43:46 +0900 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-17 15:00:30 +0900 |
| commit | 0ecd35fac4b4f2828490689b46039744d201dcb0 (patch) | |
| tree | dd52f851d7e10b8eeabb3656a5fa79e5b7b26438 /tools/perf/scripts/python | |
| parent | 8184c425a19d44f138d42b44cc363917c08e5f1c (diff) | |
ksmbd: return buffer overflow for partial filesystem info
The query-info buffer check returns STATUS_INFO_LENGTH_MISMATCH for
every output buffer smaller than the complete response. Variable-length
filesystem information instead requires STATUS_BUFFER_OVERFLOW when the
fixed portion fits but the complete data does not.
Pass the fixed size for each filesystem information class to the buffer
checker. Keep INFO_LENGTH_MISMATCH for buffers below that size, and
return BUFFER_OVERFLOW with a response truncated to the requested length
for larger partial buffers.
This fixes smb2.getinfo.qfs_buffercheck.
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
