diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-02-02 10:48:09 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-08 06:26:57 +0100 |
commit | 5fae054c2b5a7c10475d2e425dfea0c567c1c5dd (patch) | |
tree | dda71124754c5cf778acd00a8bc51c1556e7b636 /drivers/hv | |
parent | misc: mic: fix incorrect use of error codes in SCIF DMA driver (diff) | |
download | linux-5fae054c2b5a7c10475d2e425dfea0c567c1c5dd.tar.xz linux-5fae054c2b5a7c10475d2e425dfea0c567c1c5dd.zip |
goldfish: locking bugs in goldfish_pipe_read_write()
We recently messed up the error handling here. We can return with the
pipe->lock held or sometimes we unlock twice by mistake.
Fixes: 2f3be88237a3 ('goldfish_pipe: Pin pages to memory while copying and other cleanups')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv')
0 files changed, 0 insertions, 0 deletions