diff options
author | Tomasz Moń <desowin@gmail.com> | 2012-06-08 04:47:34 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-06-18 19:45:59 -0300 |
commit | 9f4161a6b8796dc41dc3924d7869622f7975706a (patch) | |
tree | c34283e665e545ad976954cc34e39aef9eb2bde8 /drivers/nubus | |
parent | 4e6bb2a5fb9265a222e3a86b215f4c5e6bcd61de (diff) |
[media] v4l: mem2mem_testdev: Fix race conditions in driver
The mem2mem_testdev allows multiple instances to be opened in parallel.
Source and destination queue data are being shared between all
instances, which can lead to kernel oops due to race conditions (most
likely to happen inside device_run()).
Attached patch fixes mentioned problem by storing queue data per device
context.
Signed-off-by: Tomasz Moń <desowin@gmail.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/nubus')
0 files changed, 0 insertions, 0 deletions