diff options
| author | Namjae Jeon <linkinjeon@kernel.org> | 2026-07-07 00:35:18 +0900 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-17 15:00:32 +0900 |
| commit | c1c200924fd825b632ff8811c09c3d7a5dff3895 (patch) | |
| tree | 6488fc8d7cb63ae8557aeb667a750f1993ccc24e /tools/perf/scripts/python/stackcollapse.py | |
| parent | d4ef8821fd5a61a67981daf79185a40b8e853137 (diff) | |
ksmbd: return complete resume key response
The FSCTL_SRV_REQUEST_RESUME_KEY response contains a mandatory
four-byte context field after ContextLength.
Defining the context as a flexible array excludes it from
sizeof(struct resume_key_ioctl_rsp), so ksmbd sends only 28 bytes
instead of the required 32 bytes. The truncated response cannot be
decoded and results in an NDR buffer size error.
Define the reserved context as a fixed four-byte field. This makes the
response size match the wire format and ensures the field is zeroed and
included in OutputCount.
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
