diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-09-23 21:51:23 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-10-11 05:54:57 +0200 |
commit | 2b04e8f6bbb196cab4b232af0f8d48ff2c7a8058 (patch) | |
tree | 8be4924951564fb02964129570dd5c64c5e63584 /kernel/delayacct.c | |
parent | fix unbalanced page refcounting in bio_map_user_iov (diff) | |
download | linux-2b04e8f6bbb196cab4b232af0f8d48ff2c7a8058.tar.xz linux-2b04e8f6bbb196cab4b232af0f8d48ff2c7a8058.zip |
more bio_map_user_iov() leak fixes
we need to take care of failure exit as well - pages already
in bio should be dropped by analogue of bio_unmap_pages(),
since their refcounts had been bumped only once per reference
in bio.
Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/delayacct.c')
0 files changed, 0 insertions, 0 deletions