summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2026-07-05 22:43:46 +0900
committerNamjae Jeon <linkinjeon@kernel.org>2026-08-17 15:00:30 +0900
commit0ecd35fac4b4f2828490689b46039744d201dcb0 (patch)
treedd52f851d7e10b8eeabb3656a5fa79e5b7b26438 /tools/perf/scripts/python/bin/stackcollapse-record
parent8184c425a19d44f138d42b44cc363917c08e5f1c (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/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions