aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <[email protected]>2021-05-18 22:40:11 +0000
committerSteve French <[email protected]>2021-05-20 00:19:20 +0000
commitd201d7631ca170b038e7f8921120d05eec70d7c5 (patch)
tree5f0b595a798b4d81ca201ca7a2c148730c58b0c5 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentSMB3: incorrect file id in requests compounded with open (diff)
downloadkernel-d201d7631ca170b038e7f8921120d05eec70d7c5.tar.gz
kernel-d201d7631ca170b038e7f8921120d05eec70d7c5.zip
cifs: fix memory leak in smb2_copychunk_range
When using smb2_copychunk_range() for large ranges we will run through several iterations of a loop calling SMB2_ioctl() but never actually free the returned buffer except for the final iteration. This leads to memory leaks everytime a large copychunk is requested. Fixes: 9bf0c9cd4314 ("CIFS: Fix SMB2/SMB3 Copy offload support (refcopy) for large files") Cc: <[email protected]> Reviewed-by: Aurelien Aptel <[email protected]> Signed-off-by: Ronnie Sahlberg <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions