summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2021-05-19 08:40:11 +1000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-26 11:27:32 +0200
commitae3b61a3dc2321f5dc5b3b07dca1d967d7bdc298 (patch)
tree0074021b0aa9a4de3a262e3fd791d22447bd7633 /tools/perf/scripts/python
parentca0cccc1a47c9c22bd742a5e8db536ae12d613d6 (diff)
cifs: fix memory leak in smb2_copychunk_range
commit d201d7631ca170b038e7f8921120d05eec70d7c5 upstream. 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: <stable@vger.kernel.org> Reviewed-by: Aurelien Aptel <aaptel@suse.com> Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions