aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJérôme Glisse <[email protected]>2019-04-10 15:37:47 -0400
committerSteve French <[email protected]>2019-04-24 12:33:59 -0500
commit13f5938d8264b5501368523c4513ff26608a33e8 (patch)
treec69e1c167cebb240986c2f079d3f989e7d23e033 /tools/perf/scripts/python/exported-sql-viewer.py
parent652727bbe1b17993636346716ae5867627793647 (diff)
cifs: fix page reference leak with readv/writev
CIFS can leak pages reference gotten through GUP (get_user_pages*() through iov_iter_get_pages()). This happen if cifs_send_async_read() or cifs_write_from_iter() calls fail from within __cifs_readv() and __cifs_writev() respectively. This patch move page unreference to cifs_aio_ctx_release() which will happens on all code paths this is all simpler to follow for correctness. Signed-off-by: Jérôme Glisse <[email protected]> Cc: Steve French <[email protected]> Cc: [email protected] Cc: [email protected] Cc: Alexander Viro <[email protected]> Cc: [email protected] Cc: Linus Torvalds <[email protected]> Cc: Stable <[email protected]> Signed-off-by: Steve French <[email protected]> Reviewed-by: Pavel Shilovsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions