diff options
author | Tomasz Moń <[email protected]> | 2012-06-08 04:47:34 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2012-06-18 19:45:59 -0300 |
commit | 9f4161a6b8796dc41dc3924d7869622f7975706a (patch) | |
tree | c34283e665e545ad976954cc34e39aef9eb2bde8 /net/lapb/lapb_in.c | |
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ń <[email protected]>
Signed-off-by: Marek Szyprowski <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions