diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-09-23 15:51:23 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-16 10:33:56 +0100 |
commit | 047a7bb12d63c41569ce9c9e88f5b231fd1f6cf5 (patch) | |
tree | 10da6f392341790928fea027da0129c5f4cb180a /net | |
parent | 3a620404e24a8710a9e0f44b3c826536004c2d92 (diff) | |
download | linux-stable-047a7bb12d63c41569ce9c9e88f5b231fd1f6cf5.tar.gz linux-stable-047a7bb12d63c41569ce9c9e88f5b231fd1f6cf5.tar.bz2 linux-stable-047a7bb12d63c41569ce9c9e88f5b231fd1f6cf5.zip |
more bio_map_user_iov() leak fixes
commit 2b04e8f6bbb196cab4b232af0f8d48ff2c7a8058 upstream.
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>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions