diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-07-22 16:06:51 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-28 10:05:33 +0200 |
commit | 50b2677c4e276771a6383382929180b1589b835f (patch) | |
tree | 4c805cc87c250dd81b2bdce092840782140e89d3 /scripts/gdb/linux/utils.py | |
parent | 908e757daecf2120c3019fa630ae5d4c3cd7165b (diff) |
staging: vchiq: Fix refcounting bug in buffer_from_host()
If we fail to queue the buffer then it can never be dequeued. This can
lead to a forever loop in stop_streaming() when we wait for everything
to finish.
Fixes: 70ec64ccdaac ("staging: bcm2835-camera: Ensure all buffers are returned on disable")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20200722130651.GC220681@mwanda
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions