]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scsi: storvsc: Fix a bug in copy_from_bounce_buffer()
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 27 Mar 2015 07:27:18 +0000 (00:27 -0700)
committerJiri Slaby <jslaby@suse.cz>
Mon, 4 May 2015 09:50:10 +0000 (11:50 +0200)
commit616d9390b1db74097735ac58346d164d2fa2d16b
tree31634f7be910c84f5af9ff6f7befb1082c9194e4
parent6e86d18aa0f3615c66d7ae47d78c7717e8ef0234
scsi: storvsc: Fix a bug in copy_from_bounce_buffer()

commit 8de580742fee8bc34d116f57a20b22b9a5f08403 upstream.

We may exit this function without properly freeing up the maapings
we may have acquired. Fix the bug.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Long Li <longli@microsoft.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/scsi/storvsc_drv.c