commit | 2c9ef0433c37b0db59c3b32416a75a8a54b2fbed | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sun Sep 24 18:36:44 2017 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Nov 30 08:39:05 2017 +0000 |
tree | 5777046d16c01462e021a71a69b06f14372034fd | |
parent | 193fd09bd91b62d9ad84f88830994497bd901647 [diff] |
fix a page leak in vhost_scsi_iov_to_sgl() error recovery commit 11d49e9d089ccec81be87c2386dfdd010d7f7f6e upstream. we are advancing sg as we go, so the pages we need to drop in case of error are *before* the current sg. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>