diff options
| author | David Howells <[email protected]> | 2025-08-19 15:27:36 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2025-08-19 16:16:14 +0000 |
| commit | 453a6d2a68e54a483d67233c6e1e24c4095ee4be (patch) | |
| tree | 99a715d7d2dcf4f3e653469b0460921d91d503e8 /drivers/gpu/drm/amd/amdgpu/amdgpu_ip.c | |
| parent | Linux 6.17-rc2 (diff) | |
| download | kernel-453a6d2a68e54a483d67233c6e1e24c4095ee4be.tar.gz kernel-453a6d2a68e54a483d67233c6e1e24c4095ee4be.zip | |
cifs: Fix oops due to uninitialised variable
Fix smb3_init_transform_rq() to initialise buffer to NULL before calling
netfs_alloc_folioq_buffer() as netfs assumes it can append to the buffer it
is given. Setting it to NULL means it should start a fresh buffer, but the
value is currently undefined.
Fixes: a2906d3316fc ("cifs: Switch crypto buffer to use a folio_queue rather than an xarray")
Signed-off-by: David Howells <[email protected]>
cc: Steve French <[email protected]>
cc: Paulo Alcantara <[email protected]>
cc: [email protected]
cc: [email protected]
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ip.c')
0 files changed, 0 insertions, 0 deletions
